Jump to content

shorterxp

Member
  • Posts

    157
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by shorterxp

  1. Got it to work using REG ADD "HKCR\app\DefaultIcon" /v (Default) /t REG_EXPAND_SZ /d "%programfiles%\app\tune.ico,0" Although I would have preffered to use import registry method....
  2. Hi, I would like to store environment variable %programfiles% in a registry key, to replace the default which specifies absolute path.. One solution here suggests navigate to existing key, create a new REG_SZ_EXPAND there, then enter desired text, in my case %programfiles%\...\.exe. Once entered, export the key and the result is converted to HEX: @=hex(2):25,00,70,00,72,00,6f,00,67,00,72,00,61,00,6d,00,66,00,69,00,6c,00,65,\ 00,73,00,25,00,5c,00,78,00,6d,00,70,00,6c,00,61,00,79,00,5c,00,74,00,75,00,\ 6e,00,65,00,2e,00,69,00,63,00,6f,00,00,00 When I delete key and apply this export, a single % appears in the key. I know for a fact that if I enter the %programfiles%\...\.exe. string as an REG_SZ_EXPAND, the associated program opens normally. Not sure what I did wrong regarding the single % appearing. Any pointers?
  3. Ok thanks not sure I understand any of that though... maybe the dev will
  4. I'm really diggin the new hotkey, so fluid and easy to use, wouldn't have been possible without msfn! TBH I'm surprised creative didn't make the modes tab the first one that shows.... oh well.
  5. 202KB Thanks Mode changer needs extras installed notebaly console launcher, a skinned control panel. I did try it before but prefer this new HotKey method (a good compromise) On a clean install, my WinRAR SFX quickly installs control panel and drivers only. I ran original 280mb Installer by Creative (InstallShield), monitored registry changes with InstallWatchPro (by Gavin Stark) then exported changes to .txt use in SFX setup... Some of entries contained therein define absolutes i.e. "C:\". For security, I used Find And Replace Text utility replaces all instances of "C:\" to current drive (which may not be C at time of install). Windows Move command then converts that .txt back to .reg during setup, resultant .reg is imported silently. Here is example of setup.cmd inside SFX installer: People miss the fact that inside creative XP driver pack, usually in 'Driver' folder theres a setup.exe, which installs drivers only. Not sure if equivalent exists for win 7 (which uses UAA not WDM). The setup.exe dialog looks like this: Example of custom SFX:
  6. Grazie ========================================================================= Edit AHK works perfectly, I made a notepad file contaning Run, CTAudCSA.exe Sleep, 750 IfWinExist Audio Control Panel WinActivate send ^{TAB} Then used "Ahk2EXE.exe" to convert it to .exe, - this can now be executed from shortcut. My only complaint is its 808kb footprint! Now when I press a key, this opens shortcut, runs the Script above, the result: Luckily when the program is installed OptimumX shortcut.exe utility allows user to define Hotkey with /H:<keyboard numeric value>. I used 145 which is Scroll Lock. shortcut /a:c /f:"%allusersprofile%\start menu\programs\Auzentech\Control Panel.lnk" /t:"%programfiles%\Auzentech\X-Fi Forte 7.1\AudioCS\AutoMode.exe" /w:"%programfiles%\Auzentech\X-Fi Forte 7.1\AudioCS" /i:"%programfiles%\Auzentech\X-Fi Forte 7.1\AudioCS\CTAudCSA.exe" /h:145 Heres a list of keyboard numeric vlues: http://virtuawin.sourceforge.net/?page_id=171. I'm new to coding world, free command line utilities can be powerful.
  7. Thanks There is a command line utility called sendkeys.exe written by Orlando Magalhaes Filho. It accepts similar commands, the documentation says it can be invoked from VBS, CMD and LNK (shortcut). So far it looks promising but how do I invoke an executable to a .LNK? Target Box? with sendkeys.exe in als o working directory The documentaiton gives no examples - I emailed the dev no reply yet. With sendkeys.exe you can define a delay prior to key strokes too which is ideal. The goal is to activate a shortcut (by using a keyboard shortcut - a feature of .LNK files) and then that shortcut starts sendkeys.exe alongside the desired applet.exe.
  8. This worked once! then never again!! The timer isn't a problem, 1000 or 5000 its the same, ctrl doesn't register. I've read online that this is unfortunately a inhernant problem with VBS. SendKeys just isn't reliable. What I want to do is open a .exe but on a specific TAB. This is not a browser tab but a set of options in tabular form. I wonder if there is anyway to do with with a shortcut in windows XP?
  9. Bump A developer kindly coded and incorporated a log/trace feature into the games login process. This is what it returned. When I sent this info to them they stated that it was insufficient to for him to advance on the cause. Project Reality Log File PRLauncher.exe started at: 2018-07-26T17:03:13 Warning: Socket error 995: at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult) at Reality.BF2.GameSpy.GameSpyClient.(IAsyncResult ) > Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request.
  10. Hi, VBS question: I open the program and bring it to front, then pressing CTRL+TAB desired operation occurs. When I try to replicate actions / macro via vbs script with iswindowactive followed by sendkeys it doesn't work. Research suggests CTRL+TAB is equivalent to WshShell.SendKeys "^+({TAB})" but nope it doesn't work. Also tried WshShell.SendKeys "^({TAB})" and nothing. Set WshShell = CreateObject("WScript.Shell") WshShell.Run """%PROGRAMFILES%\Folder\App.exe""" < this works WScript.Sleep 1000 < allows time to load Set WshShell = WScript.CreateObject("WScript.Shell") IsWindowActive = WshShell.AppActivate("Audio Control Panel") If IsWindowActive Then WScript.Sleep 1000 WshShell.SendKeys "^+{TAB}" < movement is seen on the buttons of window, but it is not the desired one. End If Any clues?
  11. Now I've tried a new motherboard and I still get same error. With Full XP SP3 (non-nlite) I get past verification error! BUT There now another error. I think this problem is ISP related and not hardware or OS. Although there is clearly something fishy with nlite install that causes a different error message! I started a new thread about that here https://msfn.org/board/topic/177606-error-995-anybody-familiar-how-to-fix/?do=findComment&amp;comment=1152290
  12. Hi, I'd really be interested by input from anyone inclined in networking on this problem... So around mid 2016 my favourite multiplayer FPS game stopped 'connecting' to the main server. Web browsing works on same system. It works on Windows 7 just not XP. I'd like it to work on XP. Normally, the main exe starts a splash menu on the desktop. A 'Play' button on that splash initates fullscreen modeb (game server browser within). Upon clicking 'Play' theres 2 stages, file verification and connection to server, should verification prove successful. Instead this happens: 1. running un-modified OS, this is shown briefly followed by... 2. error 995 Info on Error 995. and This game is a .NET/C++ build so it could related to those. All depedencies are installed. UPDATE 2019 On an entirely different motherboard the problem persists, ruling out nforce firewall as a cause. The main connection is USB wireless adapter. Downstream ISP-side blocks/firewalls have been ruled out; I've tried multiple alt. connections including Physical Cat5 cable > DSL. Before I was able to play over wireless on XP without issue. The sheer spontaneity of this error suggests that maybe the main server was upgraded and in turn the code on there detects XP and rejects connection. Heres my ipconfig report, which may/not help below. I'd be thrilled to recieve any pointers... Windows IP Configuration Host Name . . . . . . . . . . . . : personal Primary Dns Suffix . . . . . . . : DNSpersonal Node Type . . . . . . . . . . . . : Unknown IP Routing Enabled. . . . . . . . : No <--------------Normal?? WINS Proxy Enabled. . . . . . . . : No <--------------Normal?? DNS Suffix Search List. . . . . . : DNSpersonal Ethernet adapter Wireless Network Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : TP-LINK Wireless USB Physical Address. . . . . . . . . : 50-3E-AA-57-FF-1D Dhcp Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes IP Address. . . . . . . . . . . . : 10.32.194.154 Subnet Mask . . . . . . . . . . . : 255.255.255.248 Default Gateway . . . . . . . . . : 10.32.194.153 DHCP Server . . . . . . . . . . . : 10.32.194.153 DNS Servers . . . . . . . . . . . : 192.168.22.22 192.168.22.23 Lease Obtained. . . . . . . . . . : 10 June 2019 22:02:42 Lease Expires . . . . . . . . . . : 10 June 2019 22:17:42 Pleasse help
  13. Found the solution, the sub directory or 'program' folder needs to exist in start menu first. Shortcut.exe can not create directories. so I use mkdir before I run shortcut.exe and it works. Not obvious!
  14. I misquote .exe on end of W for this forum post. Orignal did not have. I have tried your suggestion and triple checked the lines with/without trailing backslash and still nothing. Whats weird is I use shortcut.exe for unattended install and it worked fine: shortcut /a:c /f:"%allusersprofile%\start menu\programs\accessories\magnifier.lnk" /t:"%windir%\system32\magnify.exe" /w:"%windir%\system32" shortcut /a:c /f:"%allusersprofile%\start menu\programs\accessories\on-screen keyboard.lnk" /t:"%windir%\system32\osk.exe" /w:"%windir%\system32" shortcut /a:c /f:"%allusersprofile%\start menu\programs\dvd player.lnk" /t:"%windir%\system32\mplay32.exe" /w:"%windir%\system32" The documentation suggests /a:c at middle, but I put it at front and it works okay. Either way, it doesn't like %programfiles%.
  15. shortcut.exe is a small utility developed by optimumX that can create shortcuts. I have tried a billion combinations from cmd,exe (XP 32bit) and cant figure out the problem. Any suggestions welcome. shortcut /t:"%USERPROFILE%\Start Menu\Programs\folder\file.lnk" /a:c /f:"%PROGRAMFILES%\program\file.exe" /w:"%PROGRAMFILES%\folder.exe" System error 3 has occured The developer suggested I try double quotes: (didn't work either). shortcut /t:""%USERPROFILE%\Start Menu\Programs\folder\file.lnk"" /a:c /f:""%PROGRAMFILES%\program\file.exe"" /w:""%PROGRAMFILES%\folder.exe"" The parameter 'and' is invalid The documentation: Shortcut [Version 1.11] Creates, modifies or queries Windows shell links (shortcuts) The syntax of this command is: Shortcut.exe /F:filename /A:C|E|Q [/T:target] [/P:parameters] [/W:workingdir] [/R:runstyle] [/I:icon,index] [/H:hotkey] [/D:description] /F:filename : Specifies the .LNK shortcut file. /A:action : Defines the action to take (C=Create, E=Edit or Q=Query). /T:target : Defines the target path and file name the shortcut points to. /P:parameters : Defines the command-line parameters to pass to the target. /W:working dir : Defines the working directory the target starts with. /R:run style : Defines the window state (1=Normal, 3=Max, 7=Min). /I:icon,index : Defines the icon and optional index (file.exe or file.exe,0). /H:hotkey : Defines the hotkey, a numeric value of the keyboard shortcut. /D:description : Defines the description (or comment) for the shortcut. Notes: - Any argument that contains spaces must be enclosed in "double quotes". - If Query is specified (/A:Q), all arguments except /F: are ignored. - To find the numeric hotkey value, use Explorer to set a hotkey and then /A:Q - To prevent an environment variable from being expanded until the shortcut is launched, use the ^ carat escape character like this: ^%WINDIR^% Examples: /f:"%ALLUSERSPROFILE%\Start Menu\Programs\My App.lnk" /a:q /f:"%USERPROFILE%\Desktop\Notepad.lnk" /a:c /t:^%WINDIR^%\Notepad.exe /h:846 /f:"%USERPROFILE%\Desktop\Notepad.lnk" /a:e /p:C:\Setup.log /r:3 An argument of /? or -? displays this syntax and returns 1. A successful completion will return 0. Copyright 2000-2005 Marty List, www.OptimumX.com
  16. Japan only it seems, but Galax has a European brand called KFA2, which also has the low profile 950 available. Expect them to be unobtainable in the EU, let alone in US (unfortunately for you) :P. IF I ever get one I'll post it you (will I f***, lol)
  17. I saw that. I reinstalled OS*, installed 3.5 SP1 and then 4 and Extended, then repair .NET in order and still fails. The app has broad OS support perhaps its because of an oversight with 4.5 or later. Then again it did work in the past last month but that was ona different motherboard. This motherboard has nvidia Network Enumerator. The nlite OS is pretty much the same. So weird. I need to try that motherboard other again. You are correct about the lack of error accuracy on the developers part. *OS install takes only 3minutes. In fact the app takes longer to install than XP does lol. Much better than waiting half an hour for troubleshooting purposes as per original CD (or god forbid win10).
  18. Thanks dude. @anyone: Is missing IPv4 Address line in command prompt normal? I'm connected to a public wifi hotspot and theres a problem connecting to a port (needed for an 'app' to start). 'App' worked in the past on same connection, identical OS and H/w (except motherboard). Other people had this same issue with the app. Fixes have been reported. The weirdest part is the fixes, they are very eratic in scope. Here is a list of the fix suggestions to make app work: Disabled TCP/IPv6, Made IP Static with Port Forward Utility, or Added said Ports to win firewall, or Added Google DNS in TCP/IP (someone said their ISP provider was blocking DHCP assigned IPs by Window XP). or Nothing antivirus or firewall related is installed or on.Added Google DNS in TCP/IP Weird huh? It could be ISP is blocking a port. I could try another connection to eliminate that possibility but no other connection exists. Its either OS/Motherboard driver conflict, ISP firewall or TCP/IPv4. There is no AV/Firewall running on OS as attempts are made. It's so weird! Here is what processmon reports when the attempt is made to start the app / connect to server.
  19. Is it normal that there isn't the line IPv4 address on my system? Contrast, a random youtube tutorial:
  20. Looks like I didn't need this stupid script after all. Windows XP Home Edition for some reason did not associate .zip files correctly. XP Pro works fine.
  21. Great thanks I'll have a look, though I was interested in low profile. I will amend my previous assertion and say that the GTX 950 Low profile edition is probably the smallest card to be supported by XP.
  22. Hi, does anyone know if "Internet Protocol TCP/IP" seen here in XP, is actually version 4? I need to determine if missing v4 on my (nlite) XP install is the cause for an app to not connect through certain ports. My consensus from a google image search suggests "Internet Protocol TCP/IP version 4" is never displayed in XP network device properties, only "Internet Protocol TCP/IP" and/or "Internet Protocol TCP/IP version 6". "Internet Protocol TCP/IP version 4" is seen on newer operating systems however. I'd greatly appreciate any hints.
×
×
  • Create New...