Search found 10 matches
- 31 Mar 2015 02:17
- Forum: DOS Batch Forum
- Topic: help me program .bat when drag&drop any file it show name
- Replies: 5
- Views: 5278
Re: help me program .bat when drag&drop any file it show nam
now i want click to run not drag and drop file picture : m so how to do ? ------------------------------------- drag drop file i have done @echo off title test echo show file name echo. set name=%~n1 echo ------------- echo file name : %name% echo folder path : %1 echo _____________ echo %~n1 >> lit...
- 30 Mar 2015 21:12
- Forum: DOS Batch Forum
- Topic: help me program .bat when drag&drop any file it show name
- Replies: 5
- Views: 5278
Re: help me program .bat when drag&drop any file it show nam
ShadowThief wrote:When you drag a file onto a batch script, the full path, including the file name, is stored in %1. You can get the file name without the extension by using %~n1.
thank!!
but if i want click run test.bat to it's show file name then how to do ?
- 29 Mar 2015 03:24
- Forum: DOS Batch Forum
- Topic: help me program .bat when drag&drop any file it show name
- Replies: 5
- Views: 5278
help me program .bat when drag&drop any file it show name
eg:
i have a file : abcxyz.apk
i want create program test.bat
when drag and drop file abcxyz.apk in test.bat
it show name file abcxyz
(file name is random)
i have a file : abcxyz.apk
i want create program test.bat
when drag and drop file abcxyz.apk in test.bat
it show name file abcxyz
(file name is random)
- 20 Mar 2015 21:03
- Forum: DOS Batch Forum
- Topic: help me !! use command line 7z.exe to extract,compress files
- Replies: 4
- Views: 6518
Re: help me !! use command line 7z.exe to extract,compress f
ShadowThief wrote:So you want to add updater-script to flash.zip, overwriting the existing updater-script file that already exists in the archive?
yes sir
can u help me ?
- 20 Mar 2015 02:44
- Forum: DOS Batch Forum
- Topic: help me !! use command line 7z.exe to extract,compress files
- Replies: 4
- Views: 6518
help me !! use command line 7z.exe to extract,compress files
i have a file flash.zip
into flash.zip
meta-inf\com\google\android\
update-binary
updater-script
(update-binary & updater-script this is a files)
i want using command line to compress other file updater-script into flash.zip
overwrite red file for blue file
into flash.zip
meta-inf\com\google\android\
update-binary
updater-script
(update-binary & updater-script this is a files)
i want using command line to compress other file updater-script into flash.zip
overwrite red file for blue file
- 10 Dec 2014 04:50
- Forum: DOS Batch Forum
- Topic: i want create bat program to turn off monitor help me ..
- Replies: 2
- Views: 2880
i want create bat program to turn off monitor help me ..
i want create bat program to countdown turn off monitor but i don't know code to turn off monitor
who can help me ?
who can help me ?
- 05 Dec 2014 23:15
- Forum: DOS Batch Forum
- Topic: plz help me now! read and show text ?
- Replies: 10
- Views: 6903
Re: plz help me now! read and show text ?
thank for all!!
this here folderpath if i want read and show folder name "smali_time.132306" how to do?
this here folderpath if i want read and show folder name "smali_time.132306" how to do?
- 05 Dec 2014 02:11
- Forum: DOS Batch Forum
- Topic: plz help me now! read and show text ?
- Replies: 10
- Views: 6903
plz help me now! read and show text ?
i have a text file : a.txt
C:\Users\SonyMan\Desktop\toolbox\dragdrop_apk_editor\smali_time.132306
i want read string "132306" and show it
thank!!!
C:\Users\SonyMan\Desktop\toolbox\dragdrop_apk_editor\smali_time.132306
i want read string "132306" and show it
thank!!!
- 25 Oct 2014 04:13
- Forum: DOS Batch Forum
- Topic: help me !!! i want create batch program read line by line ..
- Replies: 6
- Views: 5505
Re: help me !!! i want create batch program read line by lin
@echo off FOR /F "usebackq delims=" %%G IN ("text.txt") DO echo %%G pause thank but really i want set line by line to input for other command e.g @echo off echo u want read file 'pass.txt'? pause for /f "Delims=" %%a in (pass.txt) do ( set text=%%a ) echo. echo text fi...
- 25 Oct 2014 01:10
- Forum: DOS Batch Forum
- Topic: help me !!! i want create batch program read line by line ..
- Replies: 6
- Views: 5505
help me !!! i want create batch program read line by line ..
i have file text (text.txt): 1 2 3 4 i want create batch program read line by line and display : line1 : 1 line2 : 2 line3 : 3 line4 : 4 thank i try but it not ok @echo off pause FOR /F "tokens=1,2,3,4" %%G IN (text.txt) DO (set a=%%G set b=%%H set c=%%I set d=%%J ) echo %a% echo %b% echo ...