Skip to main content
LesFerch's user avatar
LesFerch's user avatar
LesFerch's user avatar
LesFerch
  • Member for 3 years, 4 months
  • Last seen this week
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…
comment
How to run a file (e.g. VBScript) opened in Sublime Text?
Have you installed this package? It adds syntax highlighting, but I don't know if it adds a Run option. VBSEdit is the really the gold standard for editing and debugging VBScript code. It provides direct code execution with debugging.
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
revised
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
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.
Loading…
Loading…
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
revised
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!
1
2 3 4 5
8