Showing posts with label DOS. Show all posts
Showing posts with label DOS. Show all posts

Wednesday, 25 December 2013

Create .bat file which will open all files you wanted when you logon

run.bat
start C:\Program Files\Microsoft Office\Office12\excel.exe  file1.xls
start C:\Program Files\Microsoft Office\Office12\excel.exe  file2.xls
....more command

Put .bat file in Startup folder


C:\Users\xxxx\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\ru.bat

REM copy all files from source to destination based on changed file, also it overwrite existing file based on latest update file from source

maint.bat
start xcopy c:\docs d:\cocs  /D /E /Y