scripting

  1. C

    Windows 10 Windows batch scrip - Window does not close after script

    Hi Guys, I have a one to run by you. I have a simple Windows batch script I run in the morning that basically opens various programs I use for the day. Lazy doing this...yup LOL. Issue is the command prompt window that pops up never closes after the script is run. I have tried ending the...
  2. Marcelo A S Lima

    Inherit destination folder permissions when moving file.

    Good afternoon, here at the company I have a Win Server 19 file server. Each department has its own folders and there is a folder for document processing where everyone has access. When a department needs to process a file for another department, they move the file to the processing folder so...
  3. rgdelank

    Pin At Start Access Denied from VBscript and PowerShell command line

    Windows 11: I receive "access denied" by calling "Pin At Start" from the command line, no mather wich language PowerShell or VBscript. Both are called using administrator rights. PowerShell ========== Error ===== PS C:\Users\roberto> .\t.ps1 Pin-App : App(s) not found: C:\Program...
  4. I

    Windows 10 IP security rules to IP security policy

    Hi, This is my first post and need some help with adding IP security rules to IP security policy. Setting IP security policies on local computer. We have already created IP security policy and blocked the internet. But we need to allow/add certain DNS (WebURL). rule: This rule does not...
  5. TomNXT

    Windows 11 batch script on logoff does not work

    Hello, so i added my batch script for auto turning off nanoleafs on pc shutdown via this tutorial Executing a batch script on Windows shutdown but it does not work, if you run the script alone, it works fine, but not on windows shutdown... any ideas? Its added in a shutdown folder and also...
  6. D

    Windows 10 DHCP client

    Since I found very little on this I am assuming it is not possible. However this linux guy will ask more competent Windows followers for help! I have a linux based OpenVPN tap server providing connections to clients on the local lan. I have created a dhcp script for linux clients that is...
  7. Bungle

    Windows 10 Windows Explorer - Auto create new folder everyday with date as name.

    Hi all. This is my first post here so apologies in advance if it in the wrong thread. I am by no means an it expert hence me asking for help on this. I want to create a new folder everyday to keep a record of curtain work things relating to this particular day. So within a current folder I...
  8. T

    Windows 10 Setting up LAPS - Changing Permission on a CN

    I am currently having an issue with changing permissions on our networks CN=Computers. When setting up LAPS you must run a command on the organizational units that have your workstations in them. Well our network has been setup where our Headquarter's Computers sit within the CN=Computers...
  9. B

    Windows 8.1 How to make Batch Script run a command when it gets a response to ping...

    Ok so i want a batch file that will run in the background and ping a few servers, and then if it gets a response from any of these servers (If it is able to communicate with them), it executes a command. It will be running on a machine that in normal operation has no internet (WAN) access, (For...
  10. W

    Windows 11 about windows batch file on startup

    What commands will get a batch file to stop trying to start a program on windows startup? The following code below is what I had used to execute said program as a batch file: C:\Users\drumm\Desktop>start "" "C:\Program Files\WinRAR\WinRAR.exe" -pc MY-PC -launch
  11. D

    Windows 11 Replace characters in a file name with other characters

    I have a large library of music file names (mp3 files) that I need to change to conform to certain criteria. 1. I need to append the two digits "00" to the beginning of certain filenames that do not have a track number 2. I need to replace the two characters "(a space)-", that may appear...
  12. C

    Windows 10 Script that separates files according to destination folder name

    Greetings, I need a Script that separates files According to destination folder name. Example if in the destination folder there is a folder named Paulo, it searches in the source folder where the files are located to separate files that have the name Paulo. Origin Paulo24567.mp4 Destiny...
  13. L

    Windows 10 Need Help Troubleshooting Script Issues

    Hey, my friend told me post this "script" here because im having difficulties with it so if you want to help you can. In advance thank you.
  14. P

    Windows 10 Compression of Tree Folder directory

    Tree Folder directory I am not a programmer nor I know about programming, so far. The directory tree is as follows: work/documents/Client_01/year 2018/January/PO_0001/ work/documents/Client_01/year 2018/February/PO_0002/ work/documents/Client_01/year 2018/December/PO_0092/...
  15. G

    Windows 10 Renaming video file properties according to file name

    Hi and thanks for looking at my post. I have no experience whatsoever about automating tasks in Windows but I have a huge task at hand currently and so I feel automating it is the only solution. Here is what I am trying to do: I have a huge collection of movie files on my NAS (Z:\Movies). Each...
  16. U

    Windows 10 Robocopy kopiert bei /XD nur das angegebene Hauptverzeichnis

    Hallo Gemeinde! Beim Backup mit Robocopy mit der Befehlszeile net use x: \\backup-pc\d\xxxx /user:admin xxxx robocopy c: x:\c /R:1 /w:1 /Mir /xj /XD "c:\Windows" "c:\$Recycle.bin" wird nur das Hauptverzeichnis "Windows" ausgeschlossen. Die Unterverzeichnisse werden jedoch kopiert. Alle weiteren...
  17. onlinegill

    Windows 10 Random time delay between two batch commands

    Hello, I have a batch script and i would like to put random delay / wait time in minutes to run second command. example : run first command here random wait between 5 to 30 minutes run second command here Thank You
  18. q988988

    Windows 10 Powershell code to copy files into a specific folder

    I am just trying to copy the AVI files from a source folder into the corresponding destination folder based on the folder names. For example, the multiple AVI files under Folder C should be copied into Folder xx based on the name"10Q_2P". I guess the trick here would be the name folders...
  19. Windows 10 Powershell

    Let's script Sent from my SM-A102U using Tapatalk
  20. P

    Windows 7 How to list all shares? How to cmdline remove GRANT for everyone ?

    To create a folder share and grant full permissions to user karl I can write on cmdline: net share "myshare123"="D:\tool" /GRANT:karl,FULL ok, it works. But what about the other way: Is there a way to generate all the full "net share" commands for ALL currently existing folder shares? I...