Jump to content

selyb

Member
  • Posts

    29
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by selyb

  1. freaky... i wonder why that doesnt work when it does work inside windows... a vbs should be able to do it... Option Explicit Dim oShell Set oShell = CreateObject("WScript.Shell") oShell.Run "myapp /myargs", 0, False 0 is for hidden, 2 is for minimized but not hidden False tells it not to wait for the process to finish before continuing the script then again... i dont know if a vbs will run... probably not...
  2. let me get this right... you want your own custom install program to start another process (media player) but not wait on it and then kill that process when the install is done, right? start mypath\myapp /myargs use this to start the process without having to kill it to continue the batch taskkill /f myapp.exe use this to stop the app when the batch is finished
  3. 'Open with...' on context menu of every file [HKEY_CLASSES_ROOT\*\shell\openas] @="Open With..." [HKEY_CLASSES_ROOT\*\shell\openas\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,\ 6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,25,00,53,\ 00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,73,00,\ 79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,65,00,6c,00,6c,\ 00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,4f,00,70,00,65,00,6e,00,41,00,\ 73,00,5f,00,52,00,75,00,6e,00,44,00,4c,00,4c,00,20,00,25,00,31,00,00,00 Use this to prevent unknown file types from having two 'Open With...' on its context menu [-HKEY_CLASSES_ROOT\Unknown\shell] Custom Environment Variables add as many as you want under this key after logging in with this, you could open a command prompt and type echo %username% and it would return selyb [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment] "username"="selyb" "favcolor"="blue" several of the tweaks mentioned above ask you to download powertoys or whatnot AFAIK, powertoys only edits the registry several of them are located here [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "Hidden"=dword:00000001 "ShowCompColor"=dword:00000001 "HideFileExt"=dword:00000000 "DontPrettyPath"=dword:00000000 "ShowInfoTip"=dword:00000001 "HideIcons"=dword:00000000 "MapNetDrvBtn"=dword:00000000 "WebView"=dword:00000000 "Filter"=dword:00000000 "SuperHidden"=dword:00000001 "SeparateProcess"=dword:00000001 "StartMenuInit"=dword:00000002 "StartButtonBalloonTip"=dword:00000002 "Start_ShowNetPlaces_ShouldShow"=dword:00000041 "NoNetCrawling"=dword:00000001 "FolderContentsInfoTip"=dword:00000001 "FriendlyTree"=dword:00000000 "WebViewBarricade"=dword:00000001 "DisableThumbnailCache"=dword:00000000 "ShowSuperHidden"=dword:00000001 "ClassicViewState"=dword:00000000 "PersistBrowsers"=dword:00000000 "TaskbarSizeMove"=dword:00000000 "TaskbarGlomming"=dword:00000001 "Start_LargeMFUIcons"=dword:00000000 "Start_MinMFU"=dword:00000006 "Start_ShowRecentDocs"=dword:00000002 "Start_AutoCascade"=dword:00000001 "Start_NotifyNewApps"=dword:00000000 "EnableBalloonTips"=dword:00000000 the ones that arent obvious i cant remember what they do and dont feel like looking up :-p under this key [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] the windows key shortcuts mentioned above will not work "NoWinKeys"=dword:00000001 this specifically tells explorer which drives not to automatically run the autorun.inf from i once found a list somewhere that had the dword codes for each drive type if you do this, the AutoPlay will not even be on the context menu for those particular drives "NoDriveTypeAutoRun"=dword:00000091 there is another registry tweak that leaves AutoPlay on the context menu but does not automatically run it nor does it even check when a disc is injected [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom] "AutoRun"=dword:00000000(i wonder if i have those backwards?) i use this as a minor security measure and for the fact that i edit reg files more than i import then double click to edit, right click and merge to import [HKEY_CLASSES_ROOT\regfile\shell\merge] @="Mer≥" [HKEY_CLASSES_ROOT\regfile\shell\merge\command] @="regedit.exe /S \"%1\"" [HKEY_CLASSES_ROOT\regfile\shell\open] @="&Edit" [HKEY_CLASSES_ROOT\regfile\shell\open\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\ 54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\ 00 [HKEY_CLASSES_ROOT\regfile\shell\print\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\ 54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,2f,00,70,00,20,\ 00,25,00,31,00,00,00 move some system folders on a per user basis [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders](in regedit they were text but when i exported they were in hex ) Personal is 'My Documents' startup is from the start menu this will keep Windows Tour tray icon from ever appearing for you or any future users [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Tour] "RunCount"=dword:00000000 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour] "RunCount"=dword:00000000 [HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Applets\Tour] "RunCount"=dword:00000000
  4. i have searched google high and low for a shell extension that would do this and this post is as of yet, the best result ive found the only way i know to achieve this is with Directory Opus 8 it comes with a rar plugin to view the files you can copy from or drag 'from' and drop but you cannot recompress the rar i can program VB and it is within my abilities to write a shell extension for this and i would love to BUT: i have yet to see any free software that can create rar files im not interested in making a shell extension that can only read rar files (since i use Directory Opus anyway and i already have this functionality) when i say 'within my ability' i mean that i could make an extension that would interface with a rar.dll if there is a linux library that can create/edit rar files, i would not be able to use it without someone else first porting it to win32
×
×
  • Create New...