Log in

View Full Version : Auto Creating Directory


Chelu
31st January 2005, 04:08
Ok this is kind of related to DVDRB and ill try and explain what im trying to do

For any DVD i backup i first rip with decrypter in file mode. Ok, so now i have *:\DVD_NAME\VIDEO_TS with the dvd contents inside. I like to examine the DVD with DVDShrink first to decide what im going to blank out and then go through the many ways of processing before encoding with DVDRB. Since i use DVDShrink alot i added a (right-click option?) to the Folder file type, so that i can just right-click the VIDEO_TS folder and DVD Shrink will open it.

Alright so I use DVD-RB with output directory enabled and what i like to do is, inside *:\DVD_NAME\ I make a folder called "RB" for the working path and a folder called "DVD_NAME" for the output path. So when DVD-RB is done with rebuild, i can open "DVD_NAME" with IMGTool and it'll be ready for imaging and volume ID will be automatically and correctly generated.

So with that said, what im trying to do is have a right-click option for the Folder file type just like my Shrink one, that when i right-click a folder and choose the option it will automatically make two directories inside it, one called "RB" and one that will take the name of the parent directory. Im guessing that this would be done through a .bat command or something. I tried googling for dos commands about directories, how to make a .bat, etc... but havent found anything that suits what im trying to do.

Thanks for taking the time to read through all this.

Chelu
31st January 2005, 10:41
ok after a few more hours of research i have made a .bat script with this so far.

run cmd
set current= <----- (trying to make this take name of currentdirectory or directory that was right-clicked)
mkdir RB=%current%

pretty pathetic i know. Any suggestions?

ive added a command to run this .bat to the right-click menu options for Folder, but still have some probs besides the current dir issue. If i right-click on say "G:\dvdr\24_S03D01" and choose the .bat, BUT i am in "D:\dvdr\ALIAS_SEASON_2_DISC_1" the .bat will make the folders in "D:\dvdr\ALIAS_SEASON_2_DISC_1". Is it possible to right-click a folder and have the .bat make the two folders inside the folder i clicked, if so how?

I guess this is more off-topic from rebuilder than it was before, but backing up DVDs is made up of many steps and im just trying to simplify the repetitive tasks. I cant be the only person who has also added IFOEdit, PGCEdit, and VobBlanker to the right-click menu options for the .IFO file type to also help reduce things. Im sorry if this is too off-topic. If it is ill ask no more about this.