comment
How to run a file (e.g. VBScript) opened in Sublime Text?
It turns out that it's pretty straightforward. Did you see my posted answer?
Loading…
awarded
comment
How can I prevent users from opening the same app multiple times in Windows 10 Assigned Access
Have you looked into other browsers, or special browser configurations, such as Firefox kiosk mode?
comment
Trying to hide a batch file from Nirsoft SoundVolumeCommandLine
You might find this to be easier: RunHidden
revised
How to sort files in Windows explorer in custom order?
deleted 8 characters in body
Loading…
comment
How to display Windows Explorer column headers in "List" mode?
All the sort options are available under the right-click menu, but the headers are a bit more convenient.
comment
VBS working from all pcs except 1. Works from shortcut with argument though
You could first try a Repair Install.
comment
VBS working from all pcs except 1. Works from shortcut with argument though
Can you post a screenshot of the error? There may be a clue there that's missing from your description of the error. It might help to re-register vbscript.dll. Are all machines running 64 bit Windows? Please also note that the usual corporate approach is that if you can't fix it quickly, and it's only happening on one machine, you re-image and move on.
comment
how to change the format of the date time of windows from WSH
Maybe you were thinking of
SetLocale
. That only tells the script what locale (aka culture) you're using within the script, typically so it can correctly interpret a date string. It has no effect on the user or machine configuration.
Loading…
awarded
comment
Change the default of encoding in Notepad
That's a Notepad2 screenshot. Original Notepad2. Current Notepad2.
revised
Old user still there in OOBE after sysprep and deleting it
added 3 characters in body
Loading…
Loading…
comment
How to Execute ShortCut From Command line in Windows 7
Add
start
so the cmd window doesn't remain on screen: cmd.exe /c start C:\PathToShortcut\Something.lnk
. There will still be a brief cmd window flash using this technique. Another option is: explorer.exe C:\PathToShortcut\Something.lnk
. But note that the explorer option does not work if you also need to pass a path using %1
or %v
and it uses more memory.
comment
Why does explorer restart automatically when I kill it with Process.Kill?
Ironically, I was looking for a simple C# only solution to restart Explorer and the code in the question fits my requirements perfectly. Thanks!