I have a batch file with one command in it that is about 200 characters long. To make it easier to read I would like to break it up into multiple lines. What is the "line continuation" chara...
I have a DTS job that creates a .txt file out of an Access table. The Access table has a number of carriage returns that need to be stripped before the .txt file can be used correctly. Inste...
Don't need %CD%
But, from within the batch file itself when it's run, the path to the batch file
%~nx0 returns the batch file name (Where online is this documented?)
But how to get the fo...
I am looking to run a batch file but need to run it in QUIET mode or SILENT mode - basically I need the DOS Window to be hidden from the user.
I am sure that I have done this before but cant ...
I cannot use the 'move' command to move a directory from one drive to another from the Windows XP command prompt.
eg: move c:\any_folder D:
results in the error message: "Access is de...
hi.
i have a problem.
i actually have to write a batch file to generate a command to restore databases automatically.
one of the parameters in the command is giving a timestamp from the b...
Windows 2000 / XP
Do I look like a newbe, or what? Just remember, there are no stupid questions, one is only stupid if one refuses to learn anything new.
I cannot seem to make a configu...
Some folders won't allow a rename, can this be overridden in any way?
I understand It could cause massive impacts on the stability of my system, but that isn't an issue in this case.
Be ...
Hi,
I am using a vbscript to execute a batch file on Windows NT. I create an object of type WScript.Shell and then use the Run method. However, the script does not seem to get executed in W...
I've been looking around a find very lengthy folder delete syntax.
Need something very simple like:
DEL /y /e /s C:\backup > than 5 days old
Can I get a list of the switches for ftp.exe, I have seen -i, -n, -v, and -s, but I cannot find what they do.
Thanks.
Is there an 'alias' utility (or whatever) in MS-DOS as in UNIX?
I have win98 but i don't know the version of MSDOS that I have.
I need to create a bat file that needs to simmulate a tab keystroke and then an enter keystroke. How would I do this in a bat file....
I would like a batch file that logs into a simple telnet session, logs in, performs a couple commands, then terminates. How can this be done? My humble attempt started the TelNet session, but ...
We do a lot of backups before we 'play with program' configurations, as I am sure everyone does. We like to use an XCOPY command in a batch file to copy entire directory trees to another loc...
How can I make this work with there being the space in the paths?
@echo off
start C:\WINDOWS\SYSTEM32\taskmgr.exe
"start C:\Program Files\Microsoft Office\Office\outlook.exe"
ping -n 3 1...
Hi,
I have created one batch file that will basically create one file with the name ping & Current date.txt.
The problem is it sets the file name as "ping11222005 .txt". I just want to r...
I need to create a batch file that deletes files older than 30 days in all subdirectories of a specified directory.
I found a related document but I think it might need some modification fo...
Hi Experts,
I am having trouble renaming file in dos to add datestamp at the end of the file name.
My Code currently is
RENAME "C:\Documents and Settings\John.Doe\Desktop\1.txt" "C:\Do...
I'm trying to create a batch file to execute a java program. The command is long due to the program arguments. I read that ^ is the line continuation for a batch file, but that doesn't work:
...
I have a batch file that outputs a file name.
I want to call this from another batch file and return the filename into a variable.
Any thoughts.
I would like to boot DOS from the USB CD-ROM to run a powerquest restore utility for restore the system on HDD. The system without FDD or internal CD-ROM.
I use nero 6 to make a bootable C...
I need some help.
I want to create a batch file, that registers the following DLLS when a user executes it
i.e. regsvr32 <dllname.dll>
the dlls are
CRVIEWER.DLL
sviewhlp.dll
r...
Hi,
How many minutes/seconds when I do "sleep 1000" in my batch script?
Thanks!
I have been trying to release and renew IP's using the ipconfig /release and ipconfig /renew but cannot do so. Why can't I do so?
Thanks