Answer» Hello, I've started learning basic batch FILES, and was wondering how to open docuements (I.e 'My Documents') once the Batch FILE is opened... Thank you ,SpedzDo you mean a batch file to open the My Documents folder? If so, all you need in the batch file is
Code: [Select]CD C:/Documents and Settings/[YOURNAME]/My Documents assuming you are running Windows XP. I don't know the layout of the other OPERATING systems that well.
Please let me know if that's not what you want. I'll be HAPPY to help. 8-)Is this code supposed to open a window on your desktop? For me, I get an error when I try to run that code. I put Quotes around it and I could get it to cd to the directory. Please explain how to open the window up. I am using notepad to MAKE the batch file.I am using XP Professional. Thanks for your help
You need to start the explorer. Try this sentence:
explorer "C:/Documents and Settings/[YOURNAME]/My Documents"
|