O/S: Windows XP / 2000
Objective: write a .bat file to Clear / delete all batch files in Startup folder under "C:\Documents and Settings"
Questions:
1) What is the batch file / command l...
Assume the current drive in C:\
would like to get sth done in C: and then go to D:\ to do sth else with a DOS shell script.
For example,
C:\ test.bat (after completion, the drive autom...
I was wondering is it is possible to protect my batch file (I know how to convert it to an .exe file and encrypt it).
I want them to use it for lets say 4 monthes, how can I check whether i...
Hello,
I have to create one batch file on windows 2008. When I execute one java command, output gives 1,2 and 3.
the batch file will execute different command according to the output.
For i...
If I open a command prompt and type "set mailbox=user" It sets a viable "mailbox" with the value "user"
If I create a batch file with the same command in it and double click the batch file t...
Hi,
I need to rename files on a remote host before moving them to the server where this batch runs from.
for /F "delims=" %%a in ('dir /b /ad "\\remote-host\c$\temp\ftp\"') do
if exist "...
Hi, this may sound odd but I need to add the filename of a CSV file to each line of the CSV file itself. I need to do it using a batch file if all possible. I have considered adding a column a...
i am using vista buisness, problem is when i type cmd in command prompt cmd open in full screen but i dont want to open like this, but when i go programs-accessories- command prompt open norma...
I need to convert a binary file to ansi text. If I open it up in notepad, I can save it and set type to ANSI, and then it is in the format that I need.
Well that doesn't work so great wi...
@ECHO OFF
:; Clear the screen and turn echo off (above) to keep it clean
CLS
:; Clear any previous variables set
SET MyVar=
FOR /F "tokens=*" %%i in ('FREEDISK /s <Servername> /U <Usernam...
Does anyone know if there is a dos command that will redirect a print screen directly to a printer? I would like to be able to print it to a printer instead of pasting it into Paint and then p...
I am trying to parse a text file that contains only one line "value1.value2" to report only "value1". I have looked into using the for /f command for this but I am unable to get this working....
I need a Batch Script that shares a folder in partition or hard drive D:\SharedFolder with read and write permissions.
Hello Gurus,
I have a series of commands that I need to run but before that I must be sure that
the command net use is successfull or else I want to abort the commands ...
my batch file i...
I need some help creating a batch file for an early (windows 3.1) dos version. I was never very good at writing batch files although i could do thin is 2 minutes in VB6. however I cannot run ...
I have written a command to look at files on my server and copy them over to my local hard drive. Here is the command:
xcopy "M:\Accusys" "C:\AccuSys\Library"/s /m /y
The problem I am h...
Hello,
In a previous message Qlemo answered a question about renaming files in a batch file: http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/Q_24709632.html#a25265835
U...
I can't seem to get the nested IF syntax correct. Thanks for your help!
I am able to use dos and curl to get raw xml data from twitter. For the filter api I need to send a file like tracking='soccer,footy' Can this be done with the Set command. What is the php eq...
How to overwrite files but only when they are new or newer than the current file. I made a batch program to backup mail and documents but it takes SO long that I want to modify it.
Only if ...
I am trying to run a batch file immediately following a Windows Scheduled Task. I have to run this task as a scheduled task because it must be run as NT AUTHORITY\SYSTEM. I haven't been able...
I am looking for a batch script or registry that enables and shows Quick Launch in taskbar, iI prefer to not have aditional programs or files but if there is no other way thats better than not...
How to execute a batch script from a remote computer to another on the same network or internet?, what services need to be started?, does it need to have specific ports open?, what else do i n...
Hi:
I need to run a command against each file retreived from the dir. I match files against a particular type, say .txt and now need to run another command on them , one by one
>D:
> ...
Hello,
I am looking for a way to store the output of a program and use it as an input to another program. The first program is an exe file which runs and output a number. Then I am looking ...