Search found 4309 matches
- 15 May 2012 15:48
- Forum: DOS Batch Forum
- Topic: ErrorLevel Command Required?
- Replies: 26
- Views: 15267
Re: ErrorLevel Command Required?
Then change the double || to a double && in Foxi's code.
- 15 May 2012 07:59
- Forum: DOS Batch Forum
- Topic: ErrorLevel Command Required?
- Replies: 26
- Views: 15267
Re: ErrorLevel Command Required?
Why would you even want it to process for the loop if it is not in the IMS file?
- 15 May 2012 05:08
- Forum: DOS Batch Forum
- Topic: can we login into gmail account using batch?
- Replies: 9
- Views: 8468
Re: can we login into gmail account using batch?
abc0502 wrote:I think VBscript can do it
I thought so too and I actually found one online that does it but I could never get it to work.
- 14 May 2012 08:00
- Forum: DOS Batch Forum
- Topic: can we login into gmail account using batch?
- Replies: 9
- Views: 8468
Re: can we login into gmail account using batch?
prash11 wrote:my requirement is after every reboot the batch program file should start.
and it should open the my gmail inbox.
before admin login on my machine.
i know how to start it after reboot but i dont know if i can open gmail inbox using batch file.
Have your browser save your login credentials.
- 14 May 2012 07:42
- Forum: DOS Batch Forum
- Topic: can we login into gmail account using batch?
- Replies: 9
- Views: 8468
Re: can we login into gmail account using batch?
prash11 wrote:no no i don't want to send and receive mail.
i am just asking is it possible or not.
and if it is possible then how?
and if it is not then why not?
This makes no sense.
- 14 May 2012 05:51
- Forum: DOS Batch Forum
- Topic: can we login into gmail account using batch?
- Replies: 9
- Views: 8468
Re: can we login into gmail account using batch?
And you are planning on doing this to send or receive mail?
I would think any pop3 client that supports command line input would work.
I would think any pop3 client that supports command line input would work.
- 13 May 2012 11:48
- Forum: DOS Batch Forum
- Topic: move files to folders named by date from files
- Replies: 16
- Views: 8830
Re: move files to folders named by date from files
I think it is quite dificult. maybe it can by easyli like this: forfiles /p C:\folder /d -60 /c "cmd /c del @file" but it does not work. It only delete files inside folders and I must press Y to delete. Is it possible to do without Y ? As aGerman has already shown you the DEL command dele...
- 13 May 2012 00:07
- Forum: DOS Batch Forum
- Topic: REG EXPORT: Hex returned?
- Replies: 1
- Views: 4051
Re: REG EXPORT: Hex returned?
REM Win7 64-bit REM real path REG EXPORT "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" REM Hex path REG EXPORT "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" On my machine, both registry keys conta...
- 12 May 2012 23:42
- Forum: DOS Batch Forum
- Topic: How to sort numbers in a text file?
- Replies: 19
- Views: 16633
Re: How to sort numbers in a text file?
It turned out being easier to just change a single line. Surprisingly this worked! If I wasn't able to find such a quick solution, I would have to abandon using the forfiles command and add more lines of code to take it's place. for /f tokens^=1^,2^ eol^=^"^ delims^=^" %%a in (files.txt) ...
- 12 May 2012 23:30
- Forum: DOS Batch Forum
- Topic: How to sort numbers in a text file?
- Replies: 19
- Views: 16633
Re: How to sort numbers in a text file?
Well you could have changed a single byte in your FORFILES command that was creating the text file. If you were using FORFILES to echo @FILE and @FSIZE, you could have just put a comma in between them and then the original batch file that was written for you could have been changed to just use a com...
- 12 May 2012 22:06
- Forum: DOS Batch Forum
- Topic: How to sort numbers in a text file?
- Replies: 19
- Views: 16633
Re: How to sort numbers in a text file?
Why not change the way the output of your text file is created and put a true delimiter into the text file to separate the file name from the file size.
- 11 May 2012 06:17
- Forum: DOS Batch Forum
- Topic: rename all files excep today files and transfer over network
- Replies: 8
- Views: 4934
Re: rename all files excep today files and transfer over net
priya171 wrote:Thanks but my all files are in c:\data\ so where i have to mention the directory path in batch file
If you put the batch file in C:\data you don't have to put the path in the batch file.
If you really want to put it in there then add it to the DIR command.
- 10 May 2012 05:52
- Forum: DOS Batch Forum
- Topic: Batch script to fix wmi - urgent
- Replies: 48
- Views: 33087
Re: Batch script to fix wmi - urgent
I don't want to do it manually. I want is all automatic in silent without any user interaction. I got this in the screen when I run the batch that foxidrive give. ERROR: Access denied TASKKILL /PID ERROR: Invalid syntax. Value expected for '/PID'. Type "TASKKILL /?" for usage. Press any k...
- 10 May 2012 05:48
- Forum: DOS Batch Forum
- Topic: how to copy several files to somewhere?
- Replies: 9
- Views: 7538
Re: how to copy several files to somewhere?
I suppose you could do this as well.
copy a.txt T:\ & copy a.jpg T:\
copy a.txt T:\ & copy a.jpg T:\
- 10 May 2012 05:45
- Forum: DOS Batch Forum
- Topic: how to copy several files to somewhere?
- Replies: 9
- Views: 7538
Re: how to copy several files to somewhere?
Only way I can see to do it is with a FOR command.
for /F "tokens=*" %G in ('dir /a-d /b C:\a.txt C:\a.jpg') do copy %G D:\
for /F "tokens=*" %G in ('dir /a-d /b C:\a.txt C:\a.jpg') do copy %G D:\