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,
Recently I purchased Spinrite 6.0 for use on my PC. I run windows 2000pro as the OS. To run Spinrite I first created a DOS floopy boot diskette from the Spinrite 6.0 windows applicati...
I need to edit a couple of files such as Config.nt on multiple machines. Writing a batch file to delete and add the new lines is simple enough. I was going to use 'Find' to remove the necessar...
From :
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/NT/Q_10698621.html?sfQueryTermInfo=1+batch+error+file+hide+script
I see how to hide the output in a batch file.
...
I want to add all the jar files in a directory to my CLASSPATH from my batch file. I tried something like:
set PRE_CLASSPATH=
for %%i in (c:\java\lib\*.jar) do set PRE_CLASSPATH=%%i;%PRE_C...
I am running a batch file on a data file. the data file is bulk copied into a database. The last line of the data file (which is passed to me and I do not have any control over it's creation...
Hi all, a general question. I have looked around on the Net, but can't find a detailed description (I'm sure I'm just looking in the wrong places). Does anyone know what the following error ac...
I have a machine with xp uninstall removed....... the ntfs file system doesn't seem to like the old format command i used with previous O/s........ how can i fomat the disk and be rid of this ...
Xcopy is used with the switches, /C /E /F /K /O /I /X /Y to copy files from one network share (source) to another (destination). Destination share is on another server in the same Win SBS 2003...
Hi all:
I need to write a batch file that will download a remote directory (and all subdirectories) and then delete the downloaded directory on the remote server. The remote server is an AI...
Hi, can you make a keylogger witha batch file, if so can someone post an example.
Im using psexec -s \\computer cmd to remote to a machine under the localservice account
Once there I try and do a net use like this
net use x:\\remotecomputer\share$
Error: The passwo...
Hi, is there a way to delete all the contents of a folder through the dos prompt without deleting the actual folder?
Thanks
an example would be great.
I need to create a batch file which can run through a series of directories (Source) & copy all contents from each directory to specific directories on the destination side.
The destination...
I am having a problem navigating through DOS.
I would like to change to the Directory "Documents and Settings" on my "C" Drive.
Please tell me the command. I have not worked with DOS comman...
Hello,
I have an ftp site (which requires login) and a folder on my C:\ drive called FTP2Copy.
I have to copy files to this FTP site frequently - can i create a script in a batch file wh...
WIN XP PRO DOS COMMANDS (date in file name)
Local Settings=UK dd/MM/yyy
There is a given log file named: logmm_dd_yyyy.txt e.g. log01_14_2005.txt
The date of the file will always be yest...
Is it possible to put the three ms dos setup disks on to a cd so that when its put into a cd rom, it installs from the cd. I have got as far as being able to create an image file from setup di...
Hi experts:
Here is my problem. My users are downloading an application (zipped) and will mostlikely download to the desktop and unzip the contents onto the desktop. Eventhough we instruc...
hi i have below code which is not work very well:
***************************
IF EXIST D:\ZfolderA\LOG.TXT COPY D:\ZfolderA\LOG.TXT D:\ZfolderB\%date:~4,2%%date:~7,2%%date:~10,4%LOG%time:~...
Hi Experts,
I would like to make a persistent printer connection in 98 but seems that there's no "PERSISTENT {YES|NO}" features in win98 NET USE COMMAND. Any work around ? PLS HELP.
...
Hi Experts
How to write a batch file which can copy all files from one folder to another and rename the files adding date and time with the filename in destination folder.
Regards
I have a .cmd file that calls a vbs script:
---------------
test.cmd:
call backupenv.cmd
call "d:\documents\utilities\backup\DAILY PARTIAL BACKUP - DIFFERENTIAL.vbs"
dosdev -r -d ...
Hello:
I am using the XCOPY command from a DOS session on an XP Pro PC. I need to know if there is any way to display a progress bar while XCOPY does its thing. I guess I am looking for so...
I need to be able to print to a Windows Printer (connected by USB) using the command line. I'm getting an error trying to do this. This is my example:
I type in:
print /D:QL550 test.jpg
...