Summary: Hi All, I have a quick question about writing a batch file on a winnt4 server. All it needs to to is to rename a file -easy. But here's the catch. T...
Summary: I solved this for someone else and we ended up using the day of the week instead. Example: 1.log (Monday) 2.log (Tuesday) ...Etc. I spose you could ...
Summary: I reckon he meant not to hardcode the date. Jmjsin, this should do it: for /F %%A in ("%DATE%") do ren test.txt test%%C%%A%%B.txt That will exclude th...
Summary: Hi there I have a batch file that exports my servers registries everyday as a scheduled job. Sample: regedit /e c:\server name.reg Now the problem is...
Summary: I need to connect to a ftp site & upload files usind a dos batch program (.bat file) . How can i do that . From the command line i type ftp 100.100.10...
Summary: Heya i got the following problem. I have a file (.ini) where i want to change 4 lines with a batch script. Those lines look like this: [w_zei_frame] x...
Summary: Hi, I've made a batch in dos, which calls some SQL from DB2. Here is what I do: db2 CONNECT TO %1 USER %2 db2 EXPORT TO .\output.txt OF DEL MESSAGES ...
Summary: Ayexby, You are correct, REN does not work with MS-DOS 6.22 I made the mistake of testing it on my main PC with 98se (MS-DOS 7.01) in Real Mode, where...
Summary: Hi, I read your post a few days ago and thought I would give it time to arrive at some type of answer........lol! The above........check garbo is supe...
Summary: The following batch performs what you need @Echo Off :: XRDIR.BAT Syntax: XRDir Folder_Name String :: XRDir C:\MyFolder 180 Set Fld=%1 Set Str=%2 Fo...
Summary: I don't understand what you need. > How do you create a batch file that > will put a file in windows to unix. You mean converting a DOS-format file (C...
Summary: I want to create a file with Date and time in one line thru single command. currently I can do only date by "date /T > file.txt". But I want both date...
Summary: I have tried lots of ways to rename files by using a batch file but I can not add prefixes to the my old file names by using wild cards. Is there a wa...
Summary: Hi I have setup up a batch job to collect some information. I need to include a command in the batch file so that the name of the file created is the...
Summary: Hi, To pass argument into the batch file you can use %1 variable. For example: to delete file from C:\directory\ you may create the batch file T.BAT w...
Summary: i saved a bunch of webpages off of a site, and many of the filenames ended up with like %2F instead of /, %3f instead of ?, and so on so i made a batc...
Summary: Hello: Need help with a DOS batch file. I am trying to write a very simple batch process, that checks if a DIR by the name MyFiles exists if it does n...
Summary: I need the command line to check the version of my windows version. (and see if it is = 4.00.950a), if not....(procedure) I will do this in a batch fi...
Summary: Please help! i want to rename hundreds of files from my local directory by getting a string from the file. for example: filename: abc123.edi i want to...
Summary: Hi all, Has anybody know how to get variable from dos batch? for example: create daily folder. rem createfolder.bat set currdate = @call date /t md %c...
Summary: Hey All, Thanks in advance for any help. Is it possible to write a script in a DOS batch file that will read a text file for a string of characters,...
Summary: Can anyone help me with this problem i am having. I am trying to get this stupid Batch file to work on an NT machine. How do I make an enviromental va...
Summary: In our organisation we a need to distinguish between different pcs. Does anybody know of a dos batch utility that can help me to accomplish this task,...
Summary: Here is the bat file I was talking about. I only modified it slightly. :: renames files to DOS 8.3 format @echo off echo Folder in My Documents: FC...