Ruby has a very simple windows installer. http://rubyinstaller.org/downloads/ At the moment, stay with the 2.2 branch. But there is usually a comment on the right suggesting the best version.
In the windows command prompt (or script), you can change directory to the users home folder as follows cd %userprofile% Use the D switch to change to the correct drive as well cd /D %userprofile% Or append values to find a relative folder cd /D %userprofile%/this/folder/path/
Get the Interface Name: netsh interface show interface Enable the interface: netsh interface set interface “Interface Name” enable Disable the interface: netsh interface set interface “Interface Name” disable However, we need administrator access to bring the interface up or down. You could open a command prompt in admin level to achieve this. The runas command ensures that the command is ran as administrator, so to disable/enable the Wi-Fi would be C:\Windows\System32\runas.exe /user:administrator “C:\Windows\System32\netsh.exe interface set…
The issue is that if you managed to create a file with a trailing space, rename does not work – either from the command line or from the explorer. To get around this, you can use a special path prefix of \?\ as follows rename “\\?\E:\path\to\file\file name.ext ” “file name.ext” Notice the space in the first quote after “.ext”.