Search found 963 matches

by ShadowThief
05 Feb 2014 04:28
Forum: DOS Batch Forum
Topic: msconfig
Replies: 4
Views: 1970

Re: msconfig

I've never heard of a legitimate batch-to-exe converter. Personally, I find the fact that the help file is completely empty to be incredibly concerning. And why do you need to change the extension, anyway?
by ShadowThief
22 Jan 2014 20:33
Forum: DOS Batch Forum
Topic: Need batch script to find/replace values in all files/folder
Replies: 7
Views: 2882

Re: Need batch script to find/replace values in all files/fo

Thanks for your reply but i am supposed to be using a batch script(.bat) and not any tool. Nobody suggested you use another tool. m mentioned "a tool that does well with string manipulation." TC apparently stopped reading after that sentence, or they would have seen the pseudocode in the ...
by ShadowThief
19 Jan 2014 18:05
Forum: DOS Batch Forum
Topic: Pipe output of command-line program without functionality?
Replies: 2
Views: 965

Re: Pipe output of command-line program without functionalit

If the program runs and outputs on the command line but a regular > redirect isn't working, try a 2> redirect instead. As in

Code: Select all

whatever.exe 2>output.txt
by ShadowThief
07 Jan 2014 12:00
Forum: DOS Batch Forum
Topic: Ways to aware that some string contains a substrings
Replies: 24
Views: 8507

Re: Ways to aware that some string contains a substrings

So based on m you want to know if it's possible to determine if a substring exists using only assoc, call, cd, cls, color, copy, date, del, dir, echo, endlocal, erase, exit, for, ftype, goto, if, md, mklink, move, path, pause, popd, prompt, pushd, rem, set, shift, start, time, timeout, type, ver, ve...
by ShadowThief
06 Jan 2014 08:01
Forum: DOS Batch Forum
Topic: Bhx 3.1
Replies: 35
Views: 12434

Re: [utility] Bhx 2.1

berserker wrote:
foxidrive wrote:Read my comment again, the answer is there.

no its not.


foxidrive wrote:
berserker wrote:its still "downloading" from somewhere


A benefit is that you can provide the 'correct' tool with your batch file (licensing rules have to be adhered to)

Yes, it is.
by ShadowThief
04 Jan 2014 08:16
Forum: DOS Batch Forum
Topic: how can i use a program from command promp?
Replies: 22
Views: 5197

Re: how can i use a program from command promp?

sold,v-vv wrote:start+r
cmd
and i open command prompt

how can i scan of issues with ccleaner(example) from command prompt??can i?

http://www.piriform.com/docs/ccleaner/a ... parameters
by ShadowThief
01 Jan 2014 21:27
Forum: DOS Batch Forum
Topic: FOR /F Explaination
Replies: 5
Views: 2180

Re: FOR /F Explaination

FOR /F "tokens=2,3,4,5,6 delims=/: " %%i in ("%date% %Time%") do @set d=%%k%%i I have no experience with batch scripts, can someone please explain the above FOR /F line. Thank you /F is used for processing files and strings. In this case, it's the string that output by "%da...
by ShadowThief
24 Dec 2013 01:49
Forum: DOS Batch Forum
Topic: byteCode, a java concept ?
Replies: 10
Views: 2381

Re: byteCode, a java concept ?

what has my "library" to do with it and why should anyone use my "library" in a productive sense ? so what's your purpose then, by posting it? You want someone to use it or not? Or just posting for fun? No offense, but i really think you did a marvelous job trying to create your...
by ShadowThief
22 Dec 2013 05:33
Forum: DOS Batch Forum
Topic: need help batch script
Replies: 22
Views: 7162

Re: need help batch script

You've somehow got an extra \ at the beginning of both your source and destination paths. Did you copy the code I posted or type it in by hand?
by ShadowThief
22 Dec 2013 04:33
Forum: DOS Batch Forum
Topic: need help batch script
Replies: 22
Views: 7162

Re: need help batch script

Robocopy requires folder paths with spaces to be enclosed in double quotes escaped with backslashes. m Try @echo off set "pc_server=\\192.168.3.77\D\GameOnline\DOTA 2\" set "pc-24=\\192.168.3.24\D\DOTA 2\" robocopy /"%pc_server%/" /"%pc-24%/" /mir
by ShadowThief
14 Dec 2013 23:14
Forum: DOS Batch Forum
Topic: Read values from comma delimited file and generate sql
Replies: 6
Views: 1815

Re: Read values from comma delimited file and generate sql

@echo off setlocal enabledelayedexpansion set counter=0 for /f "tokens=1,2 delims=," %%A in (param.txt) do ( set /a counter=!counter!+1 echo select * from table1>>line!counter!.sql echo where col1 = '%%A'>>line!counter!.sql echo and col2 = '%%B'>>line!counter!.sql echo ;>>line!counter!.sq...
by ShadowThief
13 Dec 2013 20:45
Forum: DOS Batch Forum
Topic: fullscreen batch
Replies: 23
Views: 8894

Re: fullscreen batch

The video is tricky. It looks like he somehow attached the command prompt to a C++ program, which in turn is then maximized. You can see the source code from about 1:09 to 1:20.