Search found 4 matches
- 18 Jan 2010 07:34
- Forum: DOS Batch Forum
- Topic: xcopy
- Replies: 1
- Views: 3330
- 30 Sep 2009 08:03
- Forum: DOS Batch Forum
- Topic: Removing or Preventing leading spaces
- Replies: 4
- Views: 5875
Thank you very much for your help. I was able to get exactly what I wanted by using the code below. I had tried something similar to your suggestion before, but was getting nowhere. The ENABLEDELAYEDEXPANSION property was exactly what I was missing. I've implemented the code below into my batch, and...
- 29 Sep 2009 06:00
- Forum: DOS Batch Forum
- Topic: Removing or Preventing leading spaces
- Replies: 4
- Views: 5875
Maybe I'm missing something ( this wouldn't be the 1st time ), but that command gives me the following results: A3 1 REG_SZ C:\DOCUME~1\user\APPLIC~1\123.exe A REG_SZ C:\Documents and Settings\user\Local Settings\Temp\123.exe A1 REG_SZ C:\DOCUME~1\user\LOCALS~1\Temp\123.exe A2 REG_SZ C:\Documents an...
- 28 Sep 2009 14:06
- Forum: DOS Batch Forum
- Topic: Removing or Preventing leading spaces
- Replies: 4
- Views: 5875
Removing or Preventing leading spaces
Hello I am extracting certain values out of the registry using REG QUERY by piping them through FIND and then writing the data to a text file. An example of the code... REG QUERY HKCU\Software\Microsoft\Windows\CurrentVersion\Run /S | FIND /I "123.exe" > %TEMP%\query.txt Below is an exampl...