Take it ! @echo off if "%1x"=="x" goto usage if "%2x"=="x" goto lpt1 capture q=%1 l=%2 nb nff >nul goto end lpt1: capture q=%1 l=1 nb nff >nul goto end usage: ...
21
Ernie Winters
ewinters@...
Apr 9, 2000 3:05 am
Hi there! This is my first time here at Batch World and I am interested in learning how to program in batch. For instance.... I would like to create batch file...
22
Presciliano dos Santo...
presciliano@...
Apr 11, 2000 12:50 pm
Try using this two small batches. If you want more than 9 files in backup directory, just increment the loop, e.g.: for %%1 in (01 ... 08 09 10 11 12 13 14 15...
23
Presciliano dos Santo...
presciliano@...
Apr 11, 2000 12:58 pm
Ops. There was an error in the previous COPYAUTO.BAT. The line copy c:\autoexec.bat d:\backup\autoexec.00%1 should be copy c:\autoexec.bat...
24
nanoo@...
Apr 13, 2000 9:31 pm
I am looking for a way to use a batch file to fire off an executable, allow the executable to run, then "listen" for when the program closes. Once the program...
25
Presciliano dos Santo...
presciliano@...
Apr 14, 2000 11:17 am
Does your executable return a errorlevel ? Try this code: REM LISTEN.BAT yourexec.exe if errorlevel 2 goto action2 if errorlevel 1 goto action1 if errorlevel 0...
26
Michael Eisner
mike_e1950@...
Apr 14, 2000 3:33 pm
PROBLEM: I have developed several programs in MS Access that need to be updated on a daily basis by the users using a batch file. Some of the users are not...
27
embdx@...
Apr 16, 2000 4:23 pm
i do digitizing for embroidery the program has a batch program that converts the files from epf (expanded picture file) to jpeg but i have to open each one...
28
ewinters
ewinters@...
Apr 17, 2000 3:30 am
I am not sure if I can help, but if you send me 3-6 different epf files I'll see if ThumbsPlus can view them. If so then ThumbsPlus might be what your looking...
29
jbias@...
Apr 18, 2000 3:50 pm
Hey guys Anyone know of a way to terminate NT services from a bat file? Jason...
30
Larry Piegza
piegz@...
Apr 18, 2000 4:52 pm
In the past, I know I have stopped the spooler service using: net stop spooler to restart: net start spooler don't know if that helps....
31
Laurence
batfiles@...
Apr 20, 2000 12:06 pm
... to ... of ... & ... One way to accomplish this is to xcopy with the /d (date) switch all files to an empty directory. This will only copy files the same...
32
samy@...
Apr 23, 2000 11:28 am
I have to make comparasion between two directories if they have the same files, delete them in one of the directories. How can I do it by batch file? Perhaps...
33
Larry Piegza
piegz@...
Apr 24, 2000 2:11 pm
I am certainly no guru, but I know that "robocopy" from NT 4.0 Microsoft Tech Net has a /delete switch in it that will make sure that two directories are...
34
Michael Marquart
micm@...
Apr 25, 2000 3:44 pm
This uses Qbasic.exe and Qbasic.hlp from the Windows cdrom OLDMSDOS folder. Place them both in WINDOWS\COMMAND Mic @echo off ... if "%winbootdir%"=="" Echo...
35
Bamm Gabriana
bamm@...
Apr 26, 2000 4:12 pm
Hello, I am testing a batch file for compatibility with DOS 5. The batch file uses debug.exe and my DOS 5.0 boot disk doesn't have debug. Does anyone know...
36
jbias@...
Apr 26, 2000 7:28 pm
hey guys! Here's another one. Want to create a file to go to a directory, check for a specific file, if exist then rename it to something else, e.g....
37
Michael Marquart
micm@...
Apr 26, 2000 7:37 pm
On Wed, 26 Apr 2000 19:28:18 -0000 Subject: [BATCH WORLD] Check for file, rename to next # in a series jbias@... wrote: You may like to use this...
38
Gord Braun
gbraun@...
Apr 29, 2000 7:09 am
Hi batchers. This is a copy of a letter I sent to the PC Workers list re. the solution to my bloated registry problem. The info might be useful to some of...
39
Michael Marquart
micm@...
Apr 30, 2000 2:34 pm
On Sat, 29 Apr 2000 01:08:59 -0600 Subject: [BATCH WORLD] registry issue solved Gord Braun <gbraun@...> wrote: Here is how I think the batch should...
40
Greg Paksi
gpaksi@...
May 1, 2000 12:16 am
I just tried to build a batch file to do the following command line: start e:\win95\lviewpro\lviewpro.exe 3pm1.gif 3pm2.gif 3pm3.gif The situation is that in 3...
41
samy@...
May 1, 2000 9:09 am
... Microsoft ... directories ... It has ... differences ... point, I am ... the ... alumni ... The problem is that the directories aren't identicle,just...
42
Michael Marquart
micm@...
May 1, 2000 3:47 pm
On Sun, 30 Apr 2000 17:04:42 -0500 Subject: [BATCH WORLD] 4dos batchfile question Greg Paksi <gpaksi@...> wrote: run the following in a batch file...
43
Michael Marquart
micm@...
May 1, 2000 3:51 pm
On Mon, 01 May 2000 09:09:23 -0000 Subject: Re: [BATCH WORLD] deletion of the same files samy@... wrote: @echo off for %%a in (*.*) do if exist...
44
Greg Paksi
gpaksi@...
May 2, 2000 4:38 am
You wrote to me about [BATCH WORLD] 4dos batch file question on 5/1/2000 Thanks Mic. As I said at the bottom of my original message, I'm probably missing...
45
Gord Braun
gbraun@...
May 2, 2000 5:54 am
... Well, even if that's *all* it does, it's no small feat to someone like me who's been looking for something to pair down the registry for a long while! :) ...
46
Michael Marquart
micm@...
May 2, 2000 3:05 pm
On Mon, 1 May 2000 21:36:15 -0500 Subject: Re[2]: [BATCH WORLD] 4dos batchfile question ... No worries Greg, glad to hear you have it worked out. ... That's...
47
Michael Marquart
micm@...
May 2, 2000 3:15 pm
On Mon, 01 May 2000 23:54:55 -0600 Subject: [BATCH WORLD] shopvac.bat ... Well, I guess most are installed there. Bit slack of the author not to consider the...
48
David Y
dyoung1234@...
May 10, 2000 4:56 pm
Does anyone know a way to have a batch file run WITHOUT opening up a DOS window? I have created a batch to automatically map a bunch of drives for me using the...
49
Jason Bias
jbias@...
May 10, 2000 4:59 pm
what I usually do is create a shortcut to the batch file and in the .pif file's properties, set it to run minimized and close the window on exit. It flashes...