Search found 233 matches

by Dos_Probie
09 Mar 2014 21:35
Forum: DOS Batch Forum
Topic: [SOLVED] Batch to Parse tags from .log file
Replies: 12
Views: 16945

Re: Batch to Parse tags from .log file

Thanks for the Reply Foxi, here is what I Need to KEEP from my snippet with spacing for readability... IP Address 90.167.72.49 Country UNITED STATES Net Speed DSL also this is what I have so far, but its slow and the special characters ( </ ) are a issue with enabledelayedexpansion.. @echo off setlo...
by Dos_Probie
09 Mar 2014 17:26
Forum: DOS Batch Forum
Topic: [SOLVED] Batch to Parse tags from .log file
Replies: 12
Views: 16945

Re: Batch to Parse tags from .log file

I got this code to find a specified text now just need to figure out how to remove it and ability to add multiple specified text files.. @echo off :: Search for specified text in log file set "log=IP.RESULTS.log" findstr /m "</label></td>" %log% if %errorlevel%==0 ( echo. echo Fo...
by Dos_Probie
09 Mar 2014 16:40
Forum: DOS Batch Forum
Topic: [SOLVED] Batch to Parse tags from .log file
Replies: 12
Views: 16945

Re: Batch to Parse tags from .log file

Thanks for the info Squashman!, I failed to mention that my OS will either be Windows 7 or 8 and the System requirements for Log Parser is "only compatible with the Windows® 2000, Windows® XP Professional, and Windows ServerTM 2003 operating systems." , Have SSED which was able to gleam 24...
by Dos_Probie
09 Mar 2014 15:34
Forum: DOS Batch Forum
Topic: [SOLVED] Batch to Parse tags from .log file
Replies: 12
Views: 16945

[SOLVED] Batch to Parse tags from .log file

I have never had the need to parse files using a batch, have googled around but cannot seem to find any appropriate documention on this (found something on perl but rather stick to a batch) and now need some direction please. This is an snippet example of text in my Results.log file (total of 28 lin...
by Dos_Probie
05 Mar 2014 07:47
Forum: DOS Batch Forum
Topic: Need Variable for Wlan..
Replies: 0
Views: 6164

Need Variable for Wlan..

Trying to set a variable for the wifi security key, right now it just prints out to the console as:
Key Content : AABA4EA05668395Z

[ SOLVED ] 8)
by Dos_Probie
16 Feb 2014 18:52
Forum: DOS Batch Forum
Topic: [SOLVED] batch to check for mutiple conditions of Office?
Replies: 3
Views: 12158

[SOLVED] batch to check for mutiple conditions of Office?

I know the if/else statement will only check one condition which works fine if running a 32-bit OS (because it only has the Program Files directory) but when checking on a 64-bit OS that contains both Program Files and Program Files (x86) I cannot get the output I need. Update [SOLVED]: See code sni...
by Dos_Probie
16 Jan 2014 05:23
Forum: DOS Batch Forum
Topic: Reg add in batch not working w/ trademark symbol in path.
Replies: 6
Views: 6230

Re: Reg add in batch not working w/ trademark symbol in path

Instead of doing a reg add from commandline you could do a reg import to the temp first then import it over like so.. DP @Echo Off > "%Tmp%\~trademark.reg" Echo Windows Registry Editor Version 5.00 >> "%Tmp%\~trademark.reg" Echo. >> "%Tmp%\~trademark.reg" Echo [HKEY_CUR...
by Dos_Probie
08 Jan 2014 06:10
Forum: DOS Batch Forum
Topic: Set SysInfo to Variable
Replies: 9
Views: 10807

Re: Set SysInfo to Variable

Thanks for the info Aacini, just overlooked that
@booga73
With wmic you also can get your Proc info..
DP

Code: Select all

for /f "tokens=2 delims==" %%I in (
  'wmic cpu where "manufacturer!=\"Microsoft\" and name is not null" get name /format:list 2^>NUL'
) do echo %%I
by Dos_Probie
06 Jan 2014 18:59
Forum: DOS Batch Forum
Topic: Set SysInfo to Variable
Replies: 9
Views: 10807

Re: Set SysInfo to Variable

aGerman's code is the only one that works for my OS I get:

Code: Select all

Microsoft Windows 8.1 Pro with Media Center
6.3.9600 N/A Build 9600

With booga's modified code:

Code: Select all

"OS Name was unexpected at this time"

With Aacini's code:

Code: Select all

"value[ =_]X
_]"
by Dos_Probie
05 Jan 2014 11:11
Forum: DOS Batch Forum
Topic: MS-DOS: XCOPY problem in batch file
Replies: 5
Views: 5702

Re: MS-DOS: XCOPY problem in batch file

Your dos version should support the /I switch which will make the "0SUB-TST.DIR" directory and not prompt you if file or directory or you could just do the MD command to make the directory..
DP 8)
by Dos_Probie
16 Dec 2013 05:46
Forum: DOS Batch Forum
Topic: utility fs.exe for fullscreen
Replies: 28
Views: 17915

Re: utility fs.exe for fullscreen

Carlos, works with Windows 8.1 x64 (see url below) but if I attempt to right-click and run as admin I get the following error: 'fs.exe is not recognized as an internal or external command, operable program or batch file. That's because fs.exe is not on the path and running as admin changes the fold...
by Dos_Probie
16 Dec 2013 04:05
Forum: DOS Batch Forum
Topic: utility fs.exe for fullscreen
Replies: 28
Views: 17915

Re: utility fs.exe for fullscreen

Carlos, works with Windows 8.1 x64 (see url below) but if I attempt to right-click and run as admin I get the following error:

Code: Select all

'fs.exe is not recognized as an internal or external command, operable program or batch file.
Hello
press any key to continue . .

http://postimg.org/image/h32v6p8i1/
by Dos_Probie
06 Dec 2013 20:27
Forum: DOS Batch Forum
Topic: Batch COPY not working on Windows 8
Replies: 28
Views: 19365

Re: Batch COPY not working on Windows 8

add this then right click and run as admin..DP

Code: Select all

COPY "%userprofile%\desktop\File.txt" "C:\WINDOWS\MyFolder\File.txt"
by Dos_Probie
30 Nov 2013 19:12
Forum: DOS Batch Forum
Topic: ~ Title bar Date & Clock help ~[ SOLVED ]
Replies: 13
Views: 9760

Re: ~ Title bar Date & Clock help ~

The auto sync did the trick, Thanks for all your Help, much appreciated!..DP :wink:
by Dos_Probie
29 Nov 2013 20:10
Forum: DOS Batch Forum
Topic: ~ Title bar Date & Clock help ~[ SOLVED ]
Replies: 13
Views: 9760

Re: ~ Title bar Date & Clock help ~

I reloaded your code and gives the path to my batch in title, until the min change then starts working..Will play around with it, just was hoping to get it to snyc right away like the post from Carlos and Aacini at: viewtopic.php?f=3&t=5028