Sinisterly
Batch codes for beginners - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: Batch codes for beginners (/Thread-Batch-codes-for-beginners)

Pages: 1 2 3 4 5 6


RE: Batch codes for beginners - behrad78 - 06-24-2011

thx bro your answers are great and also right...so there is going to be anotheer question how to split the parts that you attached togheter?
I mean: pussy.rar => kitten.jpg + battest.rar


RE: Batch codes for beginners - blowdoof - 06-24-2011

rename it again to .rar and extract


RE: Batch codes for beginners - behrad78 - 06-24-2011

and if it wasn`t .rar?:
X.jpg = b.jpg + a.bmp


RE: Batch codes for beginners - blowdoof - 06-24-2011

that's why you should zip (or rar) the file you attach first :-)


RE: Batch codes for beginners - behrad78 - 06-25-2011

if wanted to tskill all the process runnig wich code should I use?

tskill ????


RE: Batch codes for beginners - Hackfr33 - 06-29-2011

Agreed very helpful to newcomers with batch. Thanks for the post should help many.
Biggrin


RE: Batch codes for beginners - behrad78 - 07-04-2011

only notepad...I think there is no better software than good old notepad for batch


RE: Batch codes for beginners - chipp - 08-15-2011

questions:
Code:
@echo off cd C:\ copy myfpicture.jpg copied.jpg

what if the file name:
my picture.jpg?

Code:
REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoDriveTypeAutoRun /t REG_DWORD /d 1
you haven't explained it yet. but /v for value and /t for type right? what about /d ?

i tried to make somethin' like this:
Code:
@echo off cd D:\ copy /b 1.txt + D:\folder\2.txt copy.rar pause
when i tried to open the copy.rar, error. why?


RE: Batch codes for beginners - #Unkn0wn - 08-19-2011

good 4 n00bs.. cool Smile Smile Smile


RE: Batch codes for beginners - chipp - 08-19-2011

can somebody please explain my question in page 4? btw, how to runas command for batch? i mean, it always asking for password. if i wrote like this:

Code:
runas /user:admin program.exe password
it won't work... anybody know how?