#comment u can use info >> someProgram or info > someProgram
#if none of above found, it will use short trunc cmd for info
#space is delimeter, if you have long path with space
#  use for ex. "c:\windows\system32\cmd.exe" /c echo hello & pause
#attrib hide-window hides window,for ex: hide-window cmd /c copy c:\upp\*.txt c:\backup
#if batch files have no cmd, it's prepended as cmd /c b.bat(or b.cmd)

# now you can delete this comments and save, since help button(down)-has all the help -> it's modeless

open notepad >> notepad
open notepad after 2 sec >> [2,yes,0,notepad]
open notepad after 300 ms >> [300ms,yes,0,notepad]
open win.ini >> notepad c:\windows\win.ini
open notepad(use cmd) >> cmd /c notepad
cmd /c notepad

dir current directory; note: down is the same, but without 'this' description >> cmd /c dir & pause
cmd /c dir & pause

7zip all this dir contents with attached batch file(with date-time stamp), note: cmd wnd is hidden >> hide-window cmd /c batch.bat backup7zdatetime *.* zipped

#note: you must have c:\mingw compiler - with or without path set
#  and c:\newdirfiles with cpp files in them for compilation
compile mingw all .cpp files in dir c:\newdirfiles(note:create it 1st) >> cmd /c set path=c:\mingw\bin;%path% & g++ -static -pipe *.cpp -o main.exe & pause

#note: for this to work, c:\newdirfiles should be created and have some files in it
make backup from c:\newdirfiles to c:\backupSXXdir and pause >> cmd /t:02 /c if not exist c:\backupSXXdir (mkdir c:\backupSXXdir) else (echo) & copy c:\newdirfiles\* c:\backupSXXdir & pause
make backup using 7z(7zip) archiver from c:\newdirfiles to c:\backupSXXdir and pause >> cmd /t:20 /c if not exist c:\backupSXXdir (mkdir c:\backupSXXdir) else (echo) & 7zG a c:\backupSXXdir\fromnewdirfiles.7z c:\newdirfiles\* & pause
make backup using 7z(7zip) archiver -hideCmdWindow from c:\newdirfiles to c:\backupSXXdir >> hide-window cmd /t:20 /c if not exist c:\backupSXXdir (mkdir c:\backupSXXdir) else (echo) & 7zG a c:\backupSXXdir\fromnewdirfiles.7z c:\newdirfiles\*
make backup using 7z(7zip) with date-time incremental backup using batch file >> hide-window batch backup7zdatetime c:\backupSXXdir\fromnewdirfiles c:\newdirfiles\*
make backup using zip archiver -hideCmdWindow from c:\newdirfiles to c:\backupSXXdir >> hide-window cmd /t:20 /c if not exist c:\backupSXXdir (mkdir c:\backupSXXdir) else (echo) & 7zG a -tzip c:\backupSXXdir\fromnewdirfiles.zip c:\newdirfiles\*

"c:\windows\system32\cmd.exe" /c echo hello & pause
c:\windows\system32\cmd /c pause
open note.txt file >> notepad note.txt

start mingw compiler vars >> cmd /t:02 /k c:\mingw\mingwvars.bat