Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Adding Var to Batch file
Name: AJ (by William Jimenez) Date: October 17, 2008 at 07:14:00 Pacific OS: Windows XP CPU/Ram: P Dual core Product: Dell
Comment:
Hello, I have created a batch file that amongst other things allows my users to backup up all of their My Docs to an external hard drive.
The process is a two fold. 1. there is an install.bat which copies some support files to the system32 folder, copies the actuall backup.bat to the C: drive and crates a shortcut on their desktop, it also creates folders on the external drive which will be used by the backup.bat
My problem is that I don't know which letter drive the external drive is going to be!!
I've already set a variable for the letter drive but I have to hard code it (set drive=G )So what I would like to do is somehow ask the user what letter their external drive is and then use that to go in to my backup.bat and replace my G in this case for whatever their input is.
Summary: I whould love to make a batch file for windows and another for macosx ( some unix batch file ) where it will add keywords to each jpg that i have on a cd while copying from the cd to a folder on any w...
Summary: hi everyone..im not a newbie to batch file ..i knw all the basics of it..i jus wanna knw tht im trying to mak a batch file which shuld get itself in schedule task..and run without password....now the ...