Search found 233 matches
- 13 Apr 2014 08:33
- Forum: DOS Batch Forum
- Topic: [ SOLVED ] ampersand error "Eastern (US 'Canada)'
- Replies: 15
- Views: 11303
Re: ampersand error "Eastern (US 'Canada)'
Can you explain how you plan to process SYS_TZ? Actually an ampersand is not the end of the world as already stated in the answers above. Regards aGerman Sure, here is the Computer Info script I have so far with the time zone included. @echo off :: SYSINFO COMBO COMMANDS For /F "delims=: token...
- 13 Apr 2014 08:10
- Forum: DOS Batch Forum
- Topic: [ SOLVED ] ampersand error "Eastern (US 'Canada)'
- Replies: 15
- Views: 11303
Re: ampersand error "Eastern (US 'Canada)'
Thanks guys for all of your input, My first option was wmic because of the direct output and speed instead of systeminfo which is a lot slower from all the scanning, Eds is a good solution but Compos wmic script would be my first choice if the ampersand could somehow be parsed out..
- 12 Apr 2014 23:07
- Forum: DOS Batch Forum
- Topic: [ SOLVED ] ampersand error "Eastern (US 'Canada)'
- Replies: 15
- Views: 11303
[ SOLVED ] ampersand error "Eastern (US 'Canada)'
Got the following scripts with the echo working , but when creating variable get the "Eastern (US 'Canada)' is not recognized as an internal or external command, operable program or batch file" Anyone run into this before or have any ideas..Thanks DP WORKING: For /F "Tokens=2,*" ...
- 09 Apr 2014 06:36
- Forum: DOS Batch Forum
- Topic: Add day in current date
- Replies: 6
- Views: 6966
Re: Add day in current date
Note: If running Windows 7 to 8.1 you may need to runas admin on your batch or better yet just add a admin script to your code..DP
- 07 Apr 2014 13:20
- Forum: DOS Batch Forum
- Topic: Backup-batchfile issues and error messages
- Replies: 29
- Views: 16376
Re: Batch file not working
qim wrote:Hi thanks
No, I am using Windows7
Please, note that the batch file is working well except for the OperaMail (The imgs are ok, after all).
Thank you
Great, glad you got it working now, you can go ahead then and mark your post as [SOLVED]
DP..
- 07 Apr 2014 09:13
- Forum: DOS Batch Forum
- Topic: File protector program
- Replies: 4
- Views: 4489
Re: File protector program
Nice, do you have a ENG version?
- 07 Apr 2014 08:16
- Forum: DOS Batch Forum
- Topic: Backup-batchfile issues and error messages
- Replies: 29
- Views: 16376
Re: Batch file not working
I assume you are using XP and also copying from your I drive as well, been a while since I used XP but I believe the userprofile, missing your user name, backslash after Documents, directory for you system drive may be PART of your issue try something like this: PS: for error checking run your code ...
- 03 Apr 2014 20:00
- Forum: DOS Batch Forum
- Topic: Is it legal for a Bat script to delete itself.
- Replies: 15
- Views: 20641
Re: Is it legal for a Bat script to delete itself.
Dave's solution is the best for doing a batch self destruct when done, also if you have your batch running from a specified directory that is no longer needed you can also do the same with a self delete of the directory which also takes care of any orphan script files inside..DP cmd /c rd /s/q "...
- 03 Apr 2014 19:53
- Forum: DOS Batch Forum
- Topic: If the application is runing or not
- Replies: 3
- Views: 3031
Re: If the application is runing or not
its call the program in use error and to close the application and try again
- 29 Mar 2014 03:39
- Forum: DOS Batch Forum
- Topic: TextToHtml.bat - Easily create World Wide Web pages!
- Replies: 44
- Views: 40714
Re: TextToHtml.bat - Easily create World Wide Web pages!
+1 Foxidrive, Just Zip then dropbox it or use free cloud service like https://www.copy.com/home/ that you can just drag and drop the zip file to.
- 27 Mar 2014 06:49
- Forum: DOS Batch Forum
- Topic: help with wmic bat file ouput problem
- Replies: 10
- Views: 8804
Re: help with wmic bat file ouput problem
Here is a Working script for XP Pro to Windows 8 (without need for 3rd party tools) that prints a oneliner .txt file to the SystemDrive\PC Details directory per OP request. Revise as needed..DP @echo off setlocal MD "%SystemDrive%\PC Details" Set "SD=%SystemDrive%" Set "PC=P...
- 27 Mar 2014 03:25
- Forum: DOS Batch Forum
- Topic: type nul >con suppresses output
- Replies: 5
- Views: 5245
- 26 Mar 2014 18:05
- Forum: DOS Batch Forum
- Topic: Saving Vars
- Replies: 8
- Views: 7325
Re: Saving Vars
gaventemples31415 wrote:How would I save a variable so that it can be accessed if the program has been closed?
More information about your specific program and what exactly you are trying to do would be helpful for a better answer..DP
- 26 Mar 2014 08:18
- Forum: DOS Batch Forum
- Topic: [SOLVED] batch to check for mutiple conditions of Office?
- Replies: 3
- Views: 12265
Re: [SOLVED] batch to check for mutiple conditions of Office
Thanks for the info Compo, after posting this I realized that the most reliable way would be via the registry uninstall section as well and not using bit as versions earlier than 2010 used Guids or not bit at all. btw Welcome to DosTips @echo off&&setlocal&&Title, + Office Edition + ...
- 10 Mar 2014 07:31
- Forum: DOS Batch Forum
- Topic: [SOLVED] Batch to Parse tags from .log file
- Replies: 12
- Views: 17229
Re: Batch to Parse tags from .log file
@Squashman, your right just cause it says it won't work a lot of times it will, anyway thanks for the input and big Thanks to Dave and Foxi for the replace.bat (didn't know about that one) and code, I will be adding this to my main batch code and then report back with the results and a download if a...