Search found 3 matches

by Briandr
27 Aug 2013 08:00
Forum: DOS Batch Forum
Topic: Help with batch file
Replies: 2
Views: 3500

Help with batch file

Hi, I am trying to piece together two batch files. The more I look at this the more I get the impression something is not quite right. I am trying to avoid redundant code. I have three sections in the batch file. Cleanup, filemove1 and filemove2. Filemove1 and filemove2 should be activated based upo...
by Briandr
13 Jun 2013 10:55
Forum: DOS Batch Forum
Topic: problem with script files
Replies: 2
Views: 2851

Re: problem with script files

Tried running it as admin (right clicked the EXE created by WinRAR).

This does appear to work on XP x86 systems (file is copied to system32)

This is not working on W7 x64 systems.

Any other ideas?
by Briandr
13 Jun 2013 09:51
Forum: DOS Batch Forum
Topic: problem with script files
Replies: 2
Views: 2851

problem with script files

Hi, I have a self extracting EXE that dumps the below script into %temp% as well as a screensaver. The script does not appear to be able to handle copying the screensaver to %windir%\system32. @ECHO ON Set RegVar=HKLM\Hardware\Description\System\CentralProcessor\0 REG.exe Query %RegVar% 2>NUL | find...