scripting

  1. metulburr

    Windows 8 how to elevate a command via cmd.exe

    I am trying to elevate a command given (in this case just another cmd.exe) if the user is not admin. However i get the error: C:\Users\metul_000>runas /user:administrator cmd.exe Enter the password for administrator: Attempting to start cmd.exe as user "WINDOWS8\administrator" ... RUNAS ERROR...
  2. J

    Running Multiple files at a time in batch.

    Hello. This is my first time posting here so I am sorry if I am not posting in the correct spot. I am trying to write a batch file. I have a folder with 333 Hotfix Msu Updates in it. Currently I have a command that will check the folder in a loop and update every computer with those hotfixes...
  3. DeMajrea

    Windows 7 Need review of .bat for running old software on Win7 (64)

    Im try to run an older version of Photoshop (I have the license to this one) but explore is locking me out. I have run similar bats for playing older cd based games - this is my first time trying it as an only harddrive based file. I just want explorer to go away when I start the program and...
  4. Juraj

    Windows 7 Help to make a Batch command

    After a lot of hours of Google search I think that really need your help, because I just learn Batch. I make commands for a .bat file similar .cmd, an improved personal assistent with simplier command of human language and one of his functions would be a websearch on Wikipedia. But now... I've...
  5. News

    MS13-099 - Critical : Vulnerability in Microsoft Scripting Runtime Object Library Could Allow...

    Severity Rating: Critical Revision Note: V1.0 (December 10, 2013): Bulletin published. Summary: This security update resolves a privately reported vulnerability in Microsoft Windows. The vulnerability could allow remote code execution if an attacker convinces a user to visit a specially crafted...
  6. News

    MS13-099: Vulnerability in Microsoft Scripting Runtime Object Library could allow remote code...

    Continue reading...
  7. O

    Windows 7 Dont run script IF

    I have an issue, i have just started a Windows 7 Migration Project and i was originally brought in to do GPO, now i have bene asked to do something else and i am a little stuck. Basically we still run Windows XP on most of our machines but will start migrating over to 7 soon. We run a batch...
  8. D

    Windows 7 Utility to conditionally delete files with same name

    I am a photographer and generate "raw" and JPG images. At a certain point in my workflow, I need to delete all the JPG images before proceeding. That's easy enough; in Windows Explorer, one can sort by type, then delete all the JPGs, or one could open up a command prompt in the directory and...
  9. T

    Windows 7 How do I access the "SystemParametersInfo " function in a batch file?

    Hello, I would like to use the following function "SystemParametersInfo" in a batch file on a Windows 7 machine. Is it in a DLL somewhere?
  10. A

    Windows 7 basic scripting, usage piping, output redirections and variable in one example.

    Hi, I mostly use another OS, and need to rewrite following script into one which works in windows. OK, here's the command: curl -s -x 127.0.0.1:8888 -b ./cookies.txt -X GET Link Removed 2>&1 | tr -d '[]' | sed "s/,/\n/g" | head -n 1 | sed "s/.\(.*\)./\1/" here's what it does: loads content of...
  11. B

    Windows 7 set /p not working

    The following code doesnt set the value of a to user input..why? Can anyone help plz... set /p a ="sdff " pause echo %a% pause
  12. B

    Windows 7 recover batch file or unavailability of "undo system restore" in W7

    I was writing scripts in batch file......But after some time, explorer started crashing repeatedly n frequently, so i had to do the system restore in safe mode.....After system restore, i lost my batch file,which is very important. So i wanted to undo the restore, but it is not available, i...
  13. T

    Windows 7 A Program I Made to Automatically Move User Folders

    One of the most major parts of my windows 7 installs is changing the paths of my user folders. I install windows 7 alot and i got a bit sick of having to do that every time... so i decided to fully automate the process! Link Removed This usb portable program starts by asking you to select a...
  14. News

    Variant data type is overwritten after you use a Visual Basic script to call an RDS component in Win

    Link Removed
  15. MikeHawthorne

    Windows 8 Trying to write a script to play a sound, need help!

    Sub title "How to spend a lot of time trying to do something that Microsoft doesn't want you to, for some obscure reason". Hi Guys I'm trying to write a script to play a sound at Windows 8 startup. I want to do this by placing the .vbs script file in the Startup Folder. I read that this can...
  16. G

    Windows 7 Batch File to Change Username on Windows 7 Pro

    How can I convert the batch below for Windows 7 Pro 64 bit. When I ran this batch in Windows XP; it worked! but not on Windows 7 Pro 64-bit. What this does? For example: I go to John Smith PC and you noticed that his username is smithj and domain: @@@@ was the last person that logon to that...
  17. B

    Windows 8 Execution of a DOS command each time a user logs off

    Hi In all editions of Windows 8, how do I make sure that it executes a DOS command each time a user logs off? Thanks Bye
  18. T

    Windows 7 Visual Basic and Windows 7 64 bit

    Hi, I have done some research and want to start programming again with Visual Basic, but VB6 and Windows 7 64 bit are not compatible. Any suggestions as to what I should go to next? Cheers, Mike
  19. imanewbe

    Windows 7 Add Command line command to right click

    What I am wanting to do is when I right click on a file have an option to run a command. for example: -filebot -rename "filename" This command would execute if I clicked on the option in the right click menu
  20. M

    Windows 7 Set Network Location via Command Line

    Win7Pro Only I'm looking for a scripted solution, or a command line that I can ultimately script. The reason being that I'm supporting 1200 users in remote locations, and I automate as much as I can in batch and VB scripts. I'm not intimately familiar with PowerShell, but I'm not opposed to it...
Back
Top