.bat file Questions

1

STRPCCMD and Windows 7
Hi, I am using STRPCCMD to run a PC bat file. In my XP and Vista PCs the job runs and control returns back to the iSeries. Under Windows 7 the job does not wait or excute the PC bat file. I am running V5R4. I have upgraded client access – personal communictions to version 5.9, [...]

Answer Question   |  March 31, 2012  7:26 AM
.bat file, STRPCCMD, V5R4, Windows 7
asked by:
DFT
15 pts.

bmail.exe wont work from Scheduled Tasks.
I’ve created a .bat file. When i run it, it works and sends email. However, when I run it from windows “scheduled tasks”, it does not send email. Any idea what could be causing this?

Answer Question   |  September 17, 2010  6:14 PM
.bat file, BMail, Scheduled Tasks
asked by:
5 pts.

Help me get a bat file to kill an exe with an if statement
anybody help me get a bat file to kill a exe with a if statement . TASKKILL /F /IM “test.exe” solves but another supporting exe which monitors the test.exe kicks in and relaunches the exe again. I need to run this as a scheduled task daily once and kills until test.exe is killed.

Answer Question   |  September 13, 2010  4:29 AM
.bat file, .exe, excel, Windows, Windows Server, Windows Server 2003
asked by:
120 pts.

How do I echo a “y” choice in this bat file?
I have the following bat file. I did not create it, but got it off of the MS scripting site. We are going to migrate data from an old nt server to a new server. The company has been using this server for about 10 years and everybody has one or more drives mapped to [...]

Answer Question   |  August 16, 2010  6:34 PM
.bat file, Domain Controller, ECHO, Windows Server 2003, Windows Server 2003 Domain Controller, Windows XP, Windows XP SP3
asked by:
1,050 pts.

I would like to know the code to do a “if file exist then” in visual basic.
for some reason the first time I posted this it only showd some of it, so I’ve reposted it. I would like to know the code to do a “if file exist then” in visual basic. something like in a .bat file as follows. IF EXIST C:install.log ( @echo I’m here ) ELSE ( @echo [...]

Answer Question   |  July 1, 2010  6:18 AM
.bat file, Visual Basic, Visual Basic developers, Visual Basic Functions
asked by:
1,940 pts.

batch script, closing an opened window
this is my .bat file: set cmd2=”&S_GROUP=1″”&S_YEAR=1″”&R001=05″”&R003=2009″”&R003=2011″ set cmd1=http://svestat:8011/mrcjava/servlet/FOLW_DB.R00410s?run=1″&outfmt=0″ CMD.EXE /C START %cmd1%%cmd2% exit this is the resulting url: http://svestat:8011/mrcjava/servlet/FOLW_DB.R00410s?run=1&outfmt=0&S_GROUP=1&S_YEAR=1&R001=01&R003=2008&R003=2011 I want to close the url window I opened. can that be done?

Answer Question   |  June 14, 2010  9:34 PM
.bat file, Batch Scripts, Internet Explorer Batch Scripts
asked by:
20 pts.

run a ‘.bat file’ with an AS400 function key
I am trying to run a windows ‘.bat file’ using an as400 function key. I have no knowledge of how to make the AS400 asign the fuction key ie F2 to the run the ‘.bat file’. Anyone have an idea. I have searched IBM’s database and also quizzed my service providers and have received blank [...]

Answer Question   |  February 17, 2010  11:44 AM
.bat file, AS/400 Function Keys
asked by:
115 pts.

1