Okay, 1. I'm not a programmer. 2. The last time I played with .bat files was somewhere in the late 90's and even then it was pretty low key as I never did get my door game BBS up and running, so I'm pretty out of the loop.
In W95 and W98 I believe path names were truncated at 8 characters in the command prompt, so Program Files became Progra~1. However in XP it appears that it states Program Files.
Which leads to my problem. I'm trying to create a .bat file that will auto-run when a CD is inserted (not a problem) and make a folder on the user desktop, and then copy the files in.
I'm having serious problems though creating the folder on the desktop.
md c:\documents and settings\$username\folder creates a folder called documents, with a subfolder 'and' containing a subfolder 'settings'... etc.
Is there a way in XP to use the md command for a path name that includes spaces? Is there another way to accomplish this same task? Or am I SOL?
Thanks!
***************************************
Have a problem with my spelling or grammar? Please refer all complaints to my English teacher:
Ralphy "Me fail English? That's unpossible." Wiggum
In W95 and W98 I believe path names were truncated at 8 characters in the command prompt, so Program Files became Progra~1. However in XP it appears that it states Program Files.
Which leads to my problem. I'm trying to create a .bat file that will auto-run when a CD is inserted (not a problem) and make a folder on the user desktop, and then copy the files in.
I'm having serious problems though creating the folder on the desktop.
md c:\documents and settings\$username\folder creates a folder called documents, with a subfolder 'and' containing a subfolder 'settings'... etc.
Is there a way in XP to use the md command for a path name that includes spaces? Is there another way to accomplish this same task? Or am I SOL?
Thanks!
***************************************
Have a problem with my spelling or grammar? Please refer all complaints to my English teacher:
Ralphy "Me fail English? That's unpossible." Wiggum