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.
batch files
Name: suneela Date: February 19, 2009 at 22:00:34 Pacific OS: Windows XP Subcategory: Batch
Comment:
can i take the path and file name separately and use them together in a command using batch files
Name: Razor2.3 Date: February 19, 2009 at 23:26:32 Pacific
Reply:
Probably.
0
Response Number 2
Name: suneela Date: February 19, 2009 at 23:57:14 Pacific
Reply:
how can u please demonstrate me
0
Response Number 3
Name: suneela Date: February 20, 2009 at 00:01:32 Pacific
Reply:
how can it be done suppose i stored the path of the file in PATH variable and file name in FNAME variable . how can i use this PATH and FNAME in a copy command i used this copy %PATH%&%FNAME% is this correct if not correct me
0
Response Number 4
Name: Valerie (by Garibaldi) Date: February 20, 2009 at 00:21:01 Pacific
Reply:
Copy %PATH%%FNAME% BUT I advise you not to use %PATH% as that's already Set as a global environment variable.
0
Response Number 5
Name: suneela Date: February 20, 2009 at 00:45:34 Pacific
Reply:
i did write like this set \p path1="enter path name" set \f fname="enter file name" copy %path1% %fname% its not waiting for file name to be entered but it is copying the file which i wanted i don't how its working
0
Response Number 6
Name: reno Date: February 20, 2009 at 01:11:02 Pacific
Reply:
set/p
not set\p or set\f
0
Response Number 7
Name: suneela Date: February 20, 2009 at 03:13:22 Pacific
Summary: How can I count a specific character in a line using a batch file Ex: if I pass a line "c:\dir1\dir2\dir3" to the batch file to count "\" then it should return 3. ...
Summary: I want to make a batch file that takes a file as a parameter, then connects to a predetermined FTP server and uploads the indicated file, then quits. The only problem is, the commands within the batch...
Summary: Does anyone know how to create a batch file that will automatically get the current date in the format year month day eg. 20060206 (using todays date as an example) Can this be done using dos batch f...