About 31,200 results
Open links in new tab
  1. Which to choose on Windows: VBScript, JScript, Wscript

    You can write WSH (Windows Scripting Host) and WSC (Windows Scripting Component) scripts that use both VBScript and JScript by combining them in an XML-based wrapper, if you need …

  2. How to enable your Windows Script Host through Registry Editor?

    Jun 15, 2023 · With the Windows Script Host restrictions lifted, you should only run scripts from trusted sources and if you’re sure they are safe to run. That’s it! This enables Windows …

  3. windows - Iterate all files in a directory using a 'for' loop - Stack ...

    How can I iterate over each file in a directory using a for loop? And how could I tell if a certain entry is a directory or if it's just a file?

  4. Using parameters in batch files at Windows command line

    In Windows, how do you access arguments passed when a batch file is run? For example, let's say I have a program named hello.bat. When I enter hello -a at a Windows command line, how …

  5. windows - How to run a PowerShell script - Stack Overflow

    250 If you want to run a script without modifying the default script execution policy, you can use the bypass switch when launching Windows PowerShell.

  6. Windows Powershell policy execution bypass - Stack Overflow

    Apr 26, 2021 · In order to permanently change the execution policy, you need to run your powershell or registry change elevated, i.e Run as administrator. Additionally, you may have to …

  7. How to run .sh on Windows Command Prompt? - Stack Overflow

    Oct 23, 2014 · 7 On Windows 10 Anniversary Update, it's even easier to run shell commands in/with bash on ubuntu on windows I was trying to set my region for my x-wrt r7000 netgear …

  8. Windows batch files: .bat vs .cmd? - Stack Overflow

    Sep 29, 2008 · Windows NT inherited cmd from OS/2, but Windows NT's Win32 version started off 32-bit. Although OS/2 went 32-bit in 1992, its cmd remained a 16-bit OS/2 1.x program. …

  9. Is it possible to modify a registry entry via a .bat/.cmd script?

    Sep 24, 2008 · PowerShell scripts must first be enabled on the client machine by using Set-ExecutionPolicy. I have a batch script which modifies the registry to set the execution policy to …

  10. How to send a simple email from a Windows batch file?

    I'm running Windows 2003 Service Pack 2. I have a batch file that runs on demand. I want to have an email sent every time the batch file runs. The email is simple, just a sentence indicating that …