scripting

  1. J

    Windows 7 Execute a Windows program from ssh (opening a veracrypt volume)

    Hi all! I'm trying to execute a program(veracrypt) to open a volume thru ssh, but i can't, I've tried the runas command.. I'm running bitvise ssh and connection with juicessh (android).. Been trying for two days, but nothing.. .. Anybody that have any suggestions?
  2. T

    Windows 10 How to open a file with a specific program from cmd

    Hello, I am trying to open a file [FILE] with a program [PROGRAM]. I have a shortcut of those two on my desktop. When i drag and drop [FILE] on top of [PROGRAM], it works as expected, meaning that [FILE] gets openend correctly by using [PROGRAM] to open it (Similarly to how you would drop a...
  3. Neemobeer

    Windows 10 Seeking Recommendations for Programming and Networking Tutorials

    Looking for suggestions on tutorials. Can be anything, programming, scripting, network related, 'how does <blank> work'.
  4. lard

    Windows 7 Folder contents exported

    So I guess this is probably not the right place for this, but frankly I don't know where to look! I'm trying to get a list of folder contents (preferably including sub folders), so literally just the file names, exported as a text file or csv, or something that I can manipulate the data with...
  5. P

    Windows 10 CmdPrompt (DOS batch) "timeout" from Win7 replaced by "sleep" in Win10?

    In DOS batch scripts under Windows 7 there was a function "timeout" which stops the execution for n seconds. This command seems to be replaced by "sleep" in DOS batch scripts under Win10. Is this true? Peter
  6. W

    Windows 7 process to run a refresh automatically?

    Hi folks, We use a bespoke piece of helpdesk software; unsure what's it written in but in it's own window (when active) the F9 key refreshes the list of tickets in the queue. Could someone please point me in the right direction to perhaps a piece of code or process or little application that...
  7. W

    Windows Server Launching Application on reboot

    I have an application that needs to be launched automatically upon reboot. The application has login and password, so I need to have a script to pass out the login info. Please let me know if we can do it with .bat script and if you have an example. Appreciate it!
  8. ragnarok1968

    NEWS Free Linux scripting book until march 15th

    https://www.neowin.net/news/get-the-learning-linux-shell-scripting-36-value-ebook-free-until-march-15 For linux fans link to free book (PDF file) is free until March 15 Learning Linux Shell Scripting ($36 Value) FREE For a Limited Time What's it about? This book covers Bash, GNU Bourne Again...
  9. blksith0

    Windows 10 Program to either Untray or Run

    When pinning a program to the taskbar, when you launch it it runs the actual executable then the application either runs for the first time, or if it's already running but minimized to the tray, it has to handle that 2nd exe instance -> terminate the second one -> un-minimize the currently...
  10. P

    Windows 10 AUTO-Apply own Registry keys at startup? Startup.reg for Win10?

    Assume I have a bootable USB flash drive with Win10 and additiional other tools on it.. Booting it works fine. Now immediately after booting from this USB flash drive I want to AUTOMATICALLY patch/enter some customized keys resp. values into the Registry. As an example think of switching to...
  11. J

    Windows 7 Execute a Excel macro from other aplication

    Hi, I have a Excel macro that copies a specific cell value. Is posible to execute it from another application without losing the focus? Thanks in advance. Regards, Jose Luis
  12. News

    Introducing support for Content Security Policy Level 2

    We are happy to introduce support for Content Security Policy Level 2 (CSP2) in Microsoft Edge, another step in our ongoing commitment to make Microsoft Edge the safest and most secure browser for our customers. CSP2, when used correctly, is an effective defense-in-depth mechanism against cross...
  13. M

    Windows 10 Python: get PID from window handle

    hi I am trying to get PID from the foreground window, but this doesn't work because I am passing the wrong kind of handle to the function. This is under python. How do I fix this? thx! import ctypes import time time.sleep(2) handle = ctypes.windll.user32.GetForegroundWindow() print(handle)...
  14. R

    Windows 7 Need Help Creating an Excel Macro to Delete Empty Rows Based on First Column

    Hi, I am trying to extract information from one program, then import it into Excel. Well, the format it is extracted is not the format that is what I need. So, I have been manually deleting all the unneeded rows. My question is there a macro or C-Plus program that can delete these rows for me...
  15. Cardinal System

    Windows 7 Grant Admin Privileges To Batch File - Solved

    I have a batch file that runs on logon as a task, but it does not work on non-admin desktops because it uses admin level commands. I want it to run as administrator without prompting the user for a password. I tried going into the file properties, clicking compatibility, and checking "Run This...
  16. News

    Fun with the Windows Subsystem for Linux

    At Build 2016, Microsoft introduced to the world the Windows Subsystem for Linux (Beta) [WSL], which enables developers to run native Ubuntu user-mode console binaries through the Bash shell in Windows 10. If you’re in the Windows Insider program, you’ve had the opportunity to try out this...
  17. Neemobeer

    Windows 7 Powershell LAN/WLAN Switcher

    Many times people may have both their wireless NIC and wired NIC connected at the same time. This can create a bridge and cause your network performance to degrade. Here is a powershell script that could be setup as a scheduled task to run at start up. What it does it detect if the wired nic...
  18. N

    Windows 7 blocking folders with icacls

    Using the command line, I would like to write a simple script that creates two folders C:\$X.~01 and C:\$X.~01 and then maybe uses the icacls command to set the permissions on both folders such that neither folder may be read, written or modified in any manner except specifically by a single...
  19. C

    Conversation of disk space format

    Hi guys , I am trying to convert the Freespace and Size to GB format using the script command : WMIC LOGICALDISK GET Name,Size,Freespace /format:value FreeSpace=61612036096 Name=C: Size=87780155392 The result I desire is something like : FreeSpace=61GB Name=C: Size=87GB Can anyone help...
  20. T

    Keyboard issue azerty qwerty

    hello, I'm working and living in Belgium and we use the azery keyboardformat. I'm having a annoying problem since a few weeks. Every time a user logs on, the keyboard is set to Qwerty. The user is not able to switch to azerty. is there a possibility to set the keyboard to Azerty via GPO or via...
Back
Top