RE: Batch codes for beginners 08-15-2011, 02:14 PM
#38
questions:
what if the file name:
my picture.jpg?
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:
when i tried to open the copy.rar, error. why?
Code:
@echo off
cd C:\
copy myfpicture.jpg copied.jpgwhat if the file name:
my picture.jpg?
Code:
REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoDriveTypeAutoRun /t REG_DWORD /d 1i tried to make somethin' like this:
Code:
@echo off
cd D:\
copy /b 1.txt + D:\folder\2.txt copy.rar
pause




![[+]](https://sinister.li/images/modern/collapse_collapsed.png)