windows scripting

  1. Getting the May 2020 Update Ready for Release

    Hello Windows Insiders! We are now getting the Windows 10 May 2020 Update (20H1) ready for release and releasing Build 19041.207 to Windows Insiders in the Release Preview ring. We believe that Build 19041.207 is the final build and we will continue to improve the overall experience of the May...
  2. M

    Windows 10 CMD.EXE - How to fix command output into variable

    Hi! I tried to send command output to variable. I'm using is in Windows 10.1903 x64 I used syntax: SET /P variable= | command I used batch by context menu to get word, characters and lines count in text file using old WC tool (it's great). First I used only copying output into clipboard by...
  3. Windows 10 Windows 10 Powershell based virus detector

    Here's a neat script I put together today. If added as a scheduled task it will loop and monitor running processes. The only thing needed is to sign up for an account on virustotal.com to get an API key then replace the F's with your api key Function Get-ProcessReport([string]$FilePath...
  4. Windows 7 Move Command in Batch Files

    My colleges' computers reset themselves every night, so we are allowed to install programs and change files & settings at will, because the changes revert on shutdown. I'm trying to create a batch file I can run to copy all the files I use & install the programs I use, I haven't gotten to the...
  5. D

    Windows 7 Folder permission script

    I need to create a script that deny's all privilages to a folder for all users. the program runs from a hidden directory under individual user accounts is the tricky thing. example User A: did not install the program and cannot see that the program is installed. User B: installed the program and...
  6. Windows 7 How to create a 'smart view' with symbolic links

    I haven't done any programming for a long time, and virtually haven't done any Windows scripting since the days of MS-DOS. For my digital audio needs I am planning to separate my music collection into 3 folder trees: - lossless albums - lossy albums inclusive - lossy albums exclusive. The...
  7. G

    Windows 7 Script (or other mechanism) to copy shortcut target to a new folder

    I am looking for a Windows 7 script (perhaps in vbs) or another mechanism that will copy the target of a shortcut to a new folder. If the shortcut points to a single file, copy the file to the new folder If the shortcut points to a folder, copy that folder to the new folder If the shortcut...
  8. R

    Windows 7 Sript to Enable Network Discovery

    I would like to create a bat file that will enable Network Discovery, disable sleep or hibernation, enable autologon for the administrator, and change the desktop image... Any help would be greatly appreciated... Thanks, Mike
  9. T

    Windows 7 Permission Error?

    Hi There, I've written a logon script which adds registry entires for users. The script will work for administrators. However this does not work Users. I get the following Error Error: Invalid root in registry key Code: 80070005 Source: WshShell.RegWrite The 80070005 is a...
  10. Windows 7 [VBS] Name of error files containing err.description ?

    Hello all, I'm looking for the name and location of the file which contains the Err.Description text of the Err object used within VBScript. Winerror.h has the error numbers, but the corresponding texts are in comments. My current problem is, when you start an Internet Explorer instance with...
  11. Windows 7 Energy Report Batch File

    So recently I stumbled across the feature to view my energy report via cmd prompt and the following input powercfg -energy -output "f:\Energy Report\energy-report.html" I'm trying to create an autorun program on my flash drive where the command automatically runs and saves a log onto my...
  12. D

    Windows 7 Menu Start Shortcut similar to "Administrative Tools"

    When you activate "Administrative Tools" to show up in Menu Start, you get this nice list of tools. I am trying to create the same kind of shortcut there right under it, but looks like the area is blocked, you can't drop anything in this area of start menu, unless there is a trick to do it. I...