Difference between revisions of "Windows Misc"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
'''To turn off all firewalls''' | '''To turn off all firewalls''' | ||
Line 51: | Line 42: | ||
</pre> | </pre> | ||
---- | ---- | ||
[[Windows| Category]] | [[Windows| Category]] |
Latest revision as of 15:34, 18 May 2022
To turn off all firewalls
In the search box on the taskbar, type Command prompt, press and hold (or right-click) Command prompt, and then select Run as administrator > Yes. At the command prompt,
- type netsh advfirewall set allprofiles state off, and then press Enter.
Open your web browser and visit a website you trust and see if you can connect to it. To turn on all firewalls you might have installed, at the command prompt,
- type netsh advfirewall set allprofiles state on, and then press Enter.
Batch File Copy Command
@echo off echo -open (open Download Folder) echo -copyps (copy ps recovery file to desktop) echo -tv (copy a single file) echo -quit echo. set /p PROGRAM= What do want to do: goto %PROGRAM% :open cls start \\192.168.20.xx pause goto start :copyps cls REM E switch copies dir and sub dir I switch assumes dir xcopy /E/I "\\192.168.20.xx\dir\dir" destinationdir pause goto start REM the %CD% directive will copy file to where the batch file was executed xcopy /E/I "\\192.168.20.xx\dir\filename.txt" %CD% pause goto start :quit cls exit