Posts

Showing posts from March, 2014

Task Scheduler to avoid UAC prompt

How to setup a task via Command Line to run a program without the UAC prompt From a command line, run the following: Schtasks /Create /SC ONLOGON /TN TaskName /RL HIGHEST /TR "<path, program and parameters>" Or use the below parameters instead of /SC ONLOGON to run the task at a specified time. /SC ONCE /ST hh:mm Example: Schtasks /Create /SC ONLOGON /TN TrueCrypt /RL HIGHEST /TR "C:\(...)\PortableApps\TrueCrypt\TrueCrypt.exe /v "File_with_path" /l Y /k "KeyFile_with_path" /a /q" To run the task immediately, just type: schtasks /run /TN taskname

Compress folders into separate files using WinRar

Image
[in  http://harjitsamra.blogspot.ch/2012/09/compress-folders-into-separate-files.html] Compress folders into separate files using WinRar If you have files/folders you don't use very often it can be handy to compress and file them so they don't take up valuable disk space.  You can use an application like WinRAR  (or the free  7-Zip ) to compress all selected folders into a single compressed file. If there are a lot of files though it can be more convenient to have each folder in it's own compressed file. WinRAR is able to do this (7-Zip is not).  If these were the folders Selecting all the folders, then right-clicking and choosing the WinRAR menu 'Add to Archive' Tick this option in WinRAR. (Put each file to separate archive) This will put each folder into a separative file and you can then remove the original folders.