Search found 13 matches

by DGMakers
30 Jan 2009 07:41
Forum: DOS Batch Forum
Topic: [tmp]
Replies: 1
Views: 4962

Pass gen? :shock:

but when to type it in, it will be hard to remember ^.^
by DGMakers
11 Jan 2009 03:00
Forum: DOS Batch Forum
Topic: Replace space with "_" in file names
Replies: 3
Views: 10311

SET var=%var: =_%

that will replace " " with "_"

so just use the file rename command and use that with it =D
by DGMakers
31 Jul 2008 07:46
Forum: DOS Batch Forum
Topic: Multiple commands per line
Replies: 5
Views: 17437

re

you can use single & symbols in if's eg:

Code: Select all

if '%var%'=='this' echo lalala & echo Still in the if !!! & echo omg still in there, i think? i think there may be a limit of and symbols but yea & pause & exit
by DGMakers
08 Jul 2008 00:44
Forum: DOS Batch Forum
Topic: Setting variable values and logging to a file
Replies: 9
Views: 17021

lol, ok your correct but if you may use & anothercommand on the end of the goto... yea as i said before.
by DGMakers
08 Jul 2008 00:38
Forum: DOS Batch Forum
Topic: ;
Replies: 3
Views: 9169

External commands... you talking about wscript? and stuff like that?
by DGMakers
04 Jul 2008 08:11
Forum: DOS Batch Forum
Topic: Setting variable values and logging to a file
Replies: 9
Views: 17021

XP

so u saying it works if i go goto :doit & echo loading...

well it doesnt
by DGMakers
03 Jul 2008 04:10
Forum: DOS Batch Forum
Topic: Setting variable values and logging to a file
Replies: 9
Views: 17021

you cant use

Code: Select all

if exist "deletelist.tmp" goto :doIt


because :doIt is just setting a label. you need to use:

Code: Select all

if exist "deletelist.tmp" goto doIt
by DGMakers
02 Jul 2008 01:52
Forum: DOS Batch Forum
Topic: Setting variable values and logging to a file
Replies: 9
Views: 17021

i never use for's in batch, THEY NEVER WORK FOR ME !!!
by DGMakers
30 Jun 2008 05:34
Forum: DOS Batch Forum
Topic: Help with batch file to print a html page
Replies: 1
Views: 6642

use:

type file.html
by DGMakers
30 Jun 2008 05:25
Forum: DOS Batch Forum
Topic: A CMD,BAT script launcher
Replies: 1
Views: 7142

Windows Help: Quits the CMD.EXE program (command interpreter) or the current batch script. EXIT [/B] [exitCode] /B specifies to exit the current batch script instead of CMD.EXE. If executed from outside a batch script, it will quit CMD.EXE exitCode specifies a numeric number. if /B is specified, set...
by DGMakers
30 Jun 2008 04:41
Forum: DOS Batch Forum
Topic: Progress Bar
Replies: 3
Views: 29343

this is an updated version thebetr1 and i just made together: @echo off title LOADER set load=echo Loading a delay... echo wscript.sleep 1000 > wait.vbs set wait=wscript.exe wait.vbs set /a amount=5 :loop %load% call:load %amount% %wait% cls set /a amount=%amount%+5 if not '%amount%'=='100' goto loo...
by DGMakers
30 Jun 2008 04:39
Forum: DOS Batch Forum
Topic: Issue with ">> file >>"
Replies: 3
Views: 8833

lol, and why are you using .bat files? .cmd files are better because they can run more commands... unless you are using windows ME or earlier which can only use bat files?
by DGMakers
30 Jun 2008 04:33
Forum: DOS Batch Forum
Topic: Issue with ">> file >>"
Replies: 3
Views: 8833

echo type %0 ^>^> stupid.bat >> dumb.bat

so i think