Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use the QM code to achieve the following CMD code effect
#8
you have some things not needed shortened a little bit


Code:
Copy      Help
str d.expandpath("$desktop$")
str s=
F
;set src=ttkx.txt
;
;for %%a in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (
;if exist %%a:\nul (
;;;;for /f "delims=" %%i in ('dir /s/a/b/a-d "%%a:\%src%" 2^>nul') do (
;;;;;;;;copy "%%i" "{d}"
;;;;)
;)
;)

;out s
__TempFile f.Init(".bat" "" "" s)
RunConsole2 f
 also when you copy this way the file created on the desktop is overwritten so you end up with only a copy of the last file found


Messages In This Thread
RE: How to use the QM code to achieve the following CMD code effect - by Kevin - 01-20-2019, 01:51 PM

Forum Jump:


Users browsing this thread: 7 Guest(s)