Search found 27 matches
- 09 Aug 2012 13:12
- Forum: DOS Batch Forum
- Topic: create a Log everything you did in the batch script
- Replies: 3
- Views: 2676
Re: create a Log everything you did in the batch script
Thanks works great . also is there another way to capture inputs as well?
- 09 Aug 2012 12:56
- Forum: DOS Batch Forum
- Topic: create a Log everything you did in the batch script
- Replies: 3
- Views: 2676
create a Log everything you did in the batch script
I'm having alot of trouble in getting this to work...orgiinally i was using this on each line...>C:\logfile.txt..... but it there a better way to log everything that was done in the bat script?
- 28 Jun 2012 12:36
- Forum: DOS Batch Forum
- Topic: .bat to copy files based on current date
- Replies: 9
- Views: 15159
Re: .bat to copy files based on current date
foxidrive
i tried your code but its not copying the file. the date for the date modified column look like the following....12/12/2012 1:53:pm
i tried your code but its not copying the file. the date for the date modified column look like the following....12/12/2012 1:53:pm
- 28 Jun 2012 12:19
- Forum: DOS Batch Forum
- Topic: create an empty .txt file if the file doesnt exist
- Replies: 9
- Views: 21591
create an empty .txt file if the file doesnt exist
i'm trying to create an empty .txt file only if the file doesn't exist and then start the program once the file is created. this is creating the file for me but its not empty can anyone help? @echo off IF EXIST "C:\test\page1.txt" ( start /d "C:\test\" prog.EXE ) else ( dir c:\ >...
- 25 Jun 2012 08:40
- Forum: DOS Batch Forum
- Topic: .bat to copy files based on current date
- Replies: 9
- Views: 15159
.bat to copy files based on current date
Im trying to have my batch script to copy a .txt file from one folder and copy it to another folder only if the test.txt file date modified is the same as the system date...can this be done in batch? i dont have xcopy so it would be best for me to use it. How would i go about using xcopy to do the f...
- 21 Jun 2012 09:57
- Forum: DOS Batch Forum
- Topic: executing .sql file
- Replies: 1
- Views: 2389
executing .sql file
I'm trying to wirte a srcipt so i can run a .sql file and connect to the sql server and output the file as a .xls I've looked around i found different code....all are very similar but they are not working one code looks like below... Also for password its set to Windows Authentication so i have no i...
- 21 Jun 2012 08:19
- Forum: DOS Batch Forum
- Topic: if statement
- Replies: 3
- Views: 2869
Re: if statement
Thank you so much worked perfect. i just have one question what is GOTO :EOF
- 21 Jun 2012 07:44
- Forum: DOS Batch Forum
- Topic: if statement
- Replies: 3
- Views: 2869
if statement
very new to batch script and i was wondering how i can do a if statement. I'm trying to automate to copy a .txt file and if it exist and paste it in a folder....i want to copy the file and paste to new folder and then go on to the next step which is just starting a .exe. and if it doesn't exist i wa...
- 15 Jun 2012 12:56
- Forum: DOS Batch Forum
- Topic: Batch script to copy and paste text stored within the script
- Replies: 1
- Views: 2100
Batch script to copy and paste text stored within the script
is there way for a Batch script to paste text stored with the batch script? like a log on id
- 15 Jun 2012 08:03
- Forum: DOS Batch Forum
- Topic: Clicking a radiobutton (checkbox) froma program
- Replies: 1
- Views: 1692
Clicking a radiobutton (checkbox) froma program
im trying to automate a program but i get stuck at a check box screen. is there anyway to click a certain button using bat script or vbs? dont know if that code below will help but thats what the error file is saying..button 61 is the one i want to choose. InitApplication: Class Name = src5911 hWnd ...
- 01 Feb 2012 11:04
- Forum: DOS Batch Forum
- Topic: I need a batch script to delete certain data from a .c file
- Replies: 4
- Views: 4592
Re: I need a batch script to delete certain data from a .c f
thanks i didnt see you code to after squashman and thank for you help i ended up using your code. Aacini -i had question about your code which workded perfect thank you.where am i adding DEL "%%F" and REN "%%~NF.OUT" "%%~NXF". your code works great as well but it creati...
- 31 Jan 2012 14:55
- Forum: DOS Batch Forum
- Topic: I need a batch script to delete certain data from a .c file
- Replies: 4
- Views: 4592
I need a batch script to delete certain data from a .c file
Hi all, I need a batch script to delete certain data from a .c file. i have multiply .c files all different names so i was wonder if someone can help me create a script to delete the following from each file but at the same time NOT delete any other data in the file. The word in the parentheses of R...