- Joined
- Sep 27, 2019
- Messages
- 1,213 (0.59/day)
- Location
- Canada
System Name | New compy |
---|---|
Processor | AMD Ryzen 5800x3D |
Motherboard | MSI MPG x570S EDGE MAX WiFi |
Cooling | Noctua NH-D15S w. FHP141 + Xigmatek AOS XAF-F1451 |
Memory | 32gb G.Skill Ripjaws V Samsung B-Die Dual Rank F4-4000C16D-32GVKA |
Video Card(s) | ASUS TUF GAMING RTX 4070ti |
Storage | 17tb (8+4tb WD Black HDD's, 2+2+0.5+0.5tb M.2 SSD Drives) + 16tb WD Red Pro backup drive |
Display(s) | Alienware AW2518H 24" 240hz, Sony X85K 43" 4k 120hz HDR TV |
Case | Thermaltake Core v71 |
Audio Device(s) | iFi Nano Idsd Le, Creative T20 + T50, Sennheiser HD6Mix |
Power Supply | EVGA Supernova G2 1000w |
Mouse | Logitech G502 Hero custom w. G900 scroll wheel mod, Rival 3 + Rival 3 wireless, JLab Epic Mouse |
Keyboard | Corsair K68 RGB + K70 RGB + K57 RGB Wireless + Logitech G613 |
Software | Win 10 Pro |
Benchmark Scores | https://valid.x86.fr/s2y7ny |
Here's my code saved as a vbs file
set x=createobject("wscript.shell")
x.run "%comspec% /k ""C:\PBO Tuner\PBO2 tuner Shortcut.lnk"""
Which works to run the shortcut with arguments intact but it leaves an open cmd window afterwards, adding exit and quit at the end produced errors running the script, also cannot get script to run from task manager, any help is appreciated.
Found part of the answer shortly after asking of course, new code.
Set ws = WScript.CreateObject("WScript.Shell")
ws.Run """C:\PBO Tuner\PBO2 tuner Shortcut.lnk"""
Still wont run from task manager...
Solved: Issue was with the VBS file name, it had a space in it and task manager doesn't like that, works fine now.
set x=createobject("wscript.shell")
x.run "%comspec% /k ""C:\PBO Tuner\PBO2 tuner Shortcut.lnk"""
Which works to run the shortcut with arguments intact but it leaves an open cmd window afterwards, adding exit and quit at the end produced errors running the script, also cannot get script to run from task manager, any help is appreciated.
Found part of the answer shortly after asking of course, new code.
Set ws = WScript.CreateObject("WScript.Shell")
ws.Run """C:\PBO Tuner\PBO2 tuner Shortcut.lnk"""
Still wont run from task manager...
Solved: Issue was with the VBS file name, it had a space in it and task manager doesn't like that, works fine now.
Last edited: