0
votes
7answers
5k views

Trying to hide a folder and unhide it in the same batch file with the attrib command

I am trying to hide a folder with a batch file, using the attrib command and I also want to unhide the file with the same batch file. can i do this as a single batch file? or do i have to call another ...
1
vote
2answers
2k views

Looking for batch automation program to reorganize/move/sort files into a new folder/directory structure based on file name content (Windows)

I have music files that already have artist name and title in the file name. However the files are currently not well organised in folders. I don't require audio-fingerprinting. Is there a program ...
1
vote
3answers
3k views

How do I create multiple folders with a batch file?

I need to create a folder (called "visitor") in every folder of one main folder. For example, my structure is this: \idontknowthename1\ \idontknowthename2\ \idontknowthename3\ \idontknowthename4\ ...
0
votes
1answer
1k views

Add a new folder to each subfolder

I have main a folder say E:\donuts and there are hundreds of folders inside it. e.g. E:\donuts\yellow\ E:\donuts\green\ ... E:\donuts\blue\ I want to create a new folder in each subfolder simply ...
0
votes
1answer
1k views

Setting CMD CD to the directory that the batch was run in

I'm trying to create a batch script that will open a program in a different environment (so I can make a portable version of it). I use this set APPDATA=%CD%\data to tell it to do that. The problem ...
10
votes
3answers
6k views

Can I use the “start” command with spaces in the path?

I have a path like this: Y:\xxx\dd sss\aaa\ccc Y:\ is mapped to an FTP address. Now when I try to use start to open my folder I cannot. Command prompt makes mistake and goes to Y:\xxx\dd folder! I ...
1
vote
2answers
2k views

How to copy directory structure, by only two levels but not the third?

From XP's Command Prompt, I am using XCOPY to copy directory structure of s:\bloo\"[8family]\"[30-40genus]\"[5species]\ and want to limit the structure to just the genus and families, and ignore the ...
3
votes
3answers
11k views

Script to create folders in multiple directories using YYYYMMDD date as the folder name

At work every morning I have to create multiple file folders (using a YYYYMMDD date format as the file folder name) in different directories across our network for various departments. This is a real ...