REM - |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| REM - |This Program writes the contents of a user requested file, and saves to a file on the desktop| REM - |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| :start cls REM - Clears Screen for program loop to be neat @echo off echo Filepath must be in the form of: echo C:\Documents and Settings\Acct Signed into\Desktop Echo. echo To exit type END echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo Results ~ Commands echo ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- Echo. echo Program Files ~ PGM echo Desktop ~ DSK echo Downloads ~ DWN echo End Program ~ END Echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ REM - More Added Later REM - ^User instructions^ set input= set /p input=Please enter the path of the file you wish to see the contents of: REM - ^Input inquiry^ if '%input%'=='DWN' ( goto :DWN ) if '%input%'=='DSK' ( goto :DSK ) if '%input%'=='PGM' ( goto :PGM ) if '%input%'=='END' ( REM - Program end Command goto :eof ) ELSE ( dir "%input%" > "C:\Documents and Settings\Dakota Jordan\Desktop\Requested_File_Contents.txt REM - ^Write file command^ ) :Success Echo The requested data has been saved to your desktop. REM - ^Success Confirmation^ pause goto :Start REM - Looper :PGM dir "C:\Program Files" > "C:\Documents and Settings\Dakota Jordan\Desktop\Requested_File_Contents.txt" REM - ^Programs Files write^ goto :success :DSK dir "C:\Documents and Settings\Dakota Jordan\Desktop" > "C:\Documents and Settings\Dakota Jordan\Desktop\Requested_File_Contents.txt" REM - ^Desktop write^ goto :success :DWN dir "C:\Documents and Settings\Dakota Jordan\My Documents\Downloads" > "C:\Documents and Settings\Dakota Jordan\Desktop\Requested_File_Contents.txt" REM - ^Downloads write^ goto :success pause