Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
Creating a directory with a pop-up
Name: lattis Date: October 31, 2003 at 09:55:37 Pacific OS: DOS/Win9x CPU/Ram: P2/3
Comment:
I'm attempting to write a batch file and than use 'bat2exe' in order to create a COM file, have this executable be available on the desktop within a Win98 environment, have a user double click via the mouse and have them prompted with what folder name they would like to create. Once they type out the desired folder/directory name (absolute drive), it'll close the application and they'll be back to their desktop. A little batch file I wrote will only work if a user goes to the DOS prompt, which they do not have access too. Just a simply double click via the mouse, enter the folder name and have that folder be created in a required root of a particular drive which will be in their h drive (for example) and can not be created on any other drive.
Summary: Hi how do I create a directory with a varible name defined as say, today's date, within DOS without manual entry? e.g. I wish to create a directory called "Sept 20,1996" where this name actually comes...
Summary: To create a directory with the current date use the following (based upon the system XP variable %Date%) MD TEST_%Date:~-4,4%%Date:~-10,2%%Date:~-7,2% I assume you use the US date format (MMDDYYYY) ot...