topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday November 13, 2025, 1:14 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 90 91 92 93 94 [95] 96 97 98 99 100 ... 225next
2351
Living Room / Re: The One Word Game!
« Last post by 4wd on September 03, 2014, 03:14 PM »
pointless
2352
Living Room / Re: The One Word Game!
« Last post by 4wd on September 03, 2014, 06:48 AM »
Tax
2353
Living Room / Re: Interesting "stuff"
« Last post by 4wd on September 03, 2014, 06:28 AM »
This is a placeholder for my next post. And if you believe that, I have a bridge to sell you.

Must be this one:

130542512_dbf23589c0-300x214.jpg
2354
Living Room / Re: The One Word Game!
« Last post by 4wd on September 03, 2014, 06:18 AM »
Ragnarok
2355
Living Room / Re: The One Word Game!
« Last post by 4wd on September 03, 2014, 03:15 AM »
disease
2356
Living Room / Re: Movies or films you've seen lately
« Last post by 4wd on August 31, 2014, 07:23 AM »
Probably the only autobiography I'll ever watch and that comes down to the way it was produced:

sdac.jpg

It covers from his beginning up until the mid-80's, after he beat his addictions.
2357
Living Room / Re: CMD-commands
« Last post by 4wd on August 31, 2014, 07:02 AM »
DOSTips is a good site for searching for how to perform an operation using a command file, from simple things like string replacement to adding a folder requester GUI.

Also, StackOverflow is full of interesting DOS command examples/code.

Console if you want your basic multi-tab, editor-like CMD enhancement, (and it's portable).
2358
What is the difference in the free and the paid versions?  Personally, I might want the paid version if it offers multiple options the Free one doesn't.  But  for the users of the network that I need to get this to work on, I wonder if all they need is the free one.

They've made it easy for you:

Licence

NetSetMan is Freeware for non-commercial use.

You may use NetSetMan for free as long as you don't save paid time. Any commercial use (at work, company notebook, etc.) requires a NetSetMan Pro license.

Thus the difference between free/paid versions is purely academic in your situation.   ;)
2359
Living Room / Re: My Stinking, Rotten ASUS Router Died Overnight!
« Last post by 4wd on August 30, 2014, 06:47 AM »
YMMV of course, but I've found my RT-N16 to be pretty much bulletproof ... and considering the number of power brownouts/cuts that I get at home, that's impressive.  I forget exactly when I got it but it must of been powered on 24/7 for the last 4 years at least.

Given the brief description of the fault, I'd go with what SJ said and it's likely to be the external PSU.

Even if it's caused the router to brick itself, as long as it's not a hardware fault within the router the RT-N16 can be recovered pretty much 100% of the time.
2360
Living Room / Re: Movies or films you've seen lately
« Last post by 4wd on August 26, 2014, 06:15 AM »
Patrick - A remake of the paranormal thriller of the same name from 1978.

p2013.jpg

Though it followed the original very well while bringing it up to date, (eg. mobile phones, computers), I still prefer the 1978 version.

p1978.jpg
2361
Living Room / Re: The Movie and Book Writing Thread
« Last post by 4wd on August 26, 2014, 04:03 AM »
Most people can't even speak their own language properly. It's pathetic.

That's because languages have been standardised ... which leads in to:

The good thing about standards is that there's so many to pick from.
2362
It can be lowered each time your credit gets run - that's why one is cautioned against activity that might result in it being run (i.e. don't allow a financial institution to check if you qualify for a loan you are not serious about applying for).

That's just retarded - asking whether someone is a good/bad credit risk shouldn't have any effect on whether they are a good/bad credit risk.
2363
Living Room / Re: Nextdoor: The anti-facebook social network for neighborhoods
« Last post by 4wd on August 20, 2014, 11:35 AM »
Good god...I don't even want to LIVE near my neighbors...letalone socialise with them ...... ;D

I'm with you ... albeit separated by a really large space.
2364
Living Room / Re: High School Student Laptop Policy
« Last post by 4wd on August 20, 2014, 06:18 AM »
Albeit the terms are somewhat brief but they don't seem to preclude the following:

1) any needed material/documents are copied from/to a flash drive at the start/end of every day, and
2) the laptop is to remain at the school at all times, the responsibility for its safety is the schools concern.

Mind you, when I went to school you were still allowed to use a pen, paper, slide rule, and calculators were sometimes banned from tests - so anything I know about today's so-called education system is a bit out of date. :)
2365
... will check my credit score daily for potential fraudulent activity ...

How does that check for fraudulent activity?

If someone goes and buys something online using your credit card info and it's accepted, how does that impact your credit score at all other than to say you're a good credit risk.

Sounds like it's geared specifically towards the interests of the credit companies, not you.

My bank SMS' my credit card balance to my phone once a week so I always have an idea of what it should be.  Simple, costs me nothing, and no-one else gets the details.

... and another free service will check daily for any of a host of interests running my name/address/credit (includes utility companies, government agencies, banking and credit companies, etc.).

So they're going to check to see whether your credit rating has been accessed by people already authorised to access them?

Why bother, it's already too late to do anything about it.

AFAICS, you're just giving your details to a 3rd party who provides nothing that you can't do yourself or that can't be done anything about.
2366
General Software Discussion / Re: screenshots when not logged into computer
« Last post by 4wd on August 18, 2014, 05:38 AM »
DOH!  A VM ... sometimes it pays to think inside the (Virtual)Box.
2367
General Software Discussion / Re: screenshots when not logged into computer
« Last post by 4wd on August 17, 2014, 04:18 PM »
Given that it's a bit hard to run user programs when no one's logged in, the alternative that comes to mind is hardware.

ie. Since most display adapters these days have two or more outputs, plug one into a recording device, (eg. HDMI, Composite, SVHS, etc), and configure your display adapter to clone the primary display.
2368
Look here: http://technet.micro...tilityspotlight.aspx

I knew about that but not having used it I was unsure whether it covered the full range of RoboCopy's options, (of which there are lots ... and lots).

Looks like it does  :)

these days i use Macrium Free version for such things.

While I'd use AOMEI Backupper, Paragon HDM Pro, etc, the reason I mentioned Disk2VHD is that VHDs are natively supported by Win 7+, ie. Disk Manager->Action->Attach VHD

Come to think of it, instead of Disk2VHD you can use Disk Manager->Action->Create VHD (it's here in Win8, IIRC Win7 also had the facility).

Only downside to VHDs I can see is it's one humongous file.

Oh, I forgot to mention - once you've made a verified image, (and made a couple of copies), work with the image, not the actual HDD.

ie.

Make image, verify image, unplug HDD, copy image, mount image, copy files from mounted image.

This will hopefully leave the real HDD as a physical backup until all files have been copied and verified from the mounted image.

There is no "fast" way to get your only copy of important files off of a HDD, especially when it's a RAID HDD since it's probably the same model/age as the one that just died.  ;)
2369
General Software Discussion / Re: Append audio to video - command line
« Last post by 4wd on August 11, 2014, 06:21 AM »
You want to multiplex them, ie. mux them together.

Using nod5's ffmpeg command line above, this command file will do every pair in a directory:

Code: Text [Select]
  1. @echo off
  2. rem MuxIt.cmd <folder>
  3. rem
  4. rem Put ffmpeg.exe in your PATH or edit to include full path to it
  5. pushd "%~1"
  6. for %%a in ("*.mp4") do (
  7.   ffmpeg.exe -i "%%~a" -i "%%~na.mp3" -map 0:v -map 1:a -codec copy -shortest "%%~na-mux.mp4"
  8. )
  9. popd

eg.

"te st.mp4" and "te st.mp3" will become "te st-mux.mp4"

EDIT: BTW, your original AHK script probably would have worked if you'd used the AVIDemux CLI binary, (avidemux2_cli.exe) - not sure, I've always used its GUI version.
2370
If you're going to copy all the files to ensure readability, I think the first thing I'd do is image the HDD first.  This will not only keep all the permissions but you can always mount the image later if necessary to check anything.
Verify that it is not corrupt - make a couple of copies of the image when you're done, hide one well away from where you're working.

Try Sysinternal' Disk2VHD.

If you have Admin privileges, you can use RoboCopy from the CLI to copy everything, including permissions - check its options.
2371
Living Room / Re: Gadget WEEKENDS
« Last post by 4wd on August 09, 2014, 02:41 PM »
This is the gear I bought:
 (see attachment in previous post)
I ended up with a Merkur Futur 701 (761? whatever...) adjustable razor (against all advice people gave). It's nice as I can adjust it and am not locked into buying multiple razors then. It's also more expensive than others, but I figured the flexibility would be worth it.

And now you need to get one of these, (a safety razor strop):

Strop.JPG

Stretch your dollar a little further.

Nifty little things, blade holder pops out the side, put a blade in, slide it back in and pop the crank handle out the other side to give it a few turns.

My dad has one of these, (doesn't use it), I gave up shaving when I was 18 ... 35 years ago ... so much easier  ;)
2372
Maybe skwire can add another column to SFV Ninja ?

Turn it into CFV Ninja, (Complicated File Verification).
2373
Living Room / Re: Script Add-On actions??
« Last post by 4wd on August 04, 2014, 01:39 PM »
You might like to provide links to the How-to-Geek page and the script.   ;)

Just so we don't have to go hunting for them.
2374
General Software Discussion / Re: Real RAM amount consumed
« Last post by 4wd on August 02, 2014, 01:19 PM »
Acer - 02_08_2014 , 16_20_37.png

According to TMD you have a 26GB pagefile ... is this correct or just the weird way it reports it?
2375
Finished Programs / Re: DONE: Removing zero length files recursively at command-line
« Last post by 4wd on August 02, 2014, 05:15 AM »
The problem I'm having trying to understand your scenario is you still haven't described the methodology you use before you run the command file.

ie.
a) Do you run this from a CLI open at the required path, (in which case put the command file in the command PATH somewhere, or add to the PATH, and call it without using a hotkey).
b) Do you run this from Explorer somehow, (in which case use my program here to copy the current path to the clipboard and then use GetClip in your command file to retrieve it when you run it via hotkey).
c) Running it from the Start->Run prompt, (in which case use a real CLI :) ).

Or the alternative is write something in a language that will let you do exactly what you want.

Addendum: qExClip, a slightly modified version of ExClip.

Code: AutoIt [Select]
  1. #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
  2. #AutoIt3Wrapper_UseUpx=n
  3. #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
  4. ; http://www.autoitscript.com/forum/topic/89833-windows-explorer-current-folder/page__st__40#entry973904
  5. #include <Array.au3>
  6.  
  7. Local $oErrorHandler = ObjEvent("AutoIt.Error", "_ComErrFunc")
  8.  
  9. If $CmdLine[0] = 1 Then
  10.         $sCmd = $CmdLine[1]
  11.         _ExClip(True)
  12.         _ExClip(False)
  13.  
  14.  
  15. Func _ExClip($temp)
  16.         $hExplr = WinActive("[REGEXPCLASS:(Explore|Cabinet)WClass]")
  17.         If $hExplr <> '' Then
  18.                 $aSelection = _ExplorerWinGetSelectedItems($hExplr)
  19. ;~              _ArrayDisplay($aSelection)
  20.                 If $aSelection[0] = 0 Then
  21.                         If StringLeft($aSelection[1], 2) <> '::' Then
  22.                                 If Not $temp Then
  23.                                         ClipPut($aSelection[1])
  24.                                 Else
  25.                                         ShellExecute($sCmd, $aSelection[1], $aSelection[1])
  26.                                 EndIf
  27.                         EndIf
  28.                 Else
  29.                         If Not $temp Then
  30.                                 ClipPut($aSelection[2])
  31.                         Else
  32.                                 ShellExecute($sCmd, $aSelection[2], $aSelection[2])
  33.                         EndIf
  34.                 EndIf
  35.         EndIf
  36. EndFunc   ;==>_ExClip
  37.  
  38.  
  39.  
  40. ; ==========================================================================================================================
  41.  
  42. ; Func _ObjectSHFolderViewFromWin($hWnd)
  43. ;
  44. ; Returns an 'ShellFolderView' Object for the given Window handle
  45. ;
  46. ; Author: Ascend4nt, based on code by KaFu, klaus.s
  47. ; ==========================================================================================================================
  48.  
  49. Func _ObjectSHFolderViewFromWin($hWnd)
  50.         If Not IsHWnd($hWnd) Then Return SetError(1, 0, 0)
  51.         Local $oShell, $oShellWindows, $oIEObject, $oSHFolderView
  52.  
  53.         ; Shell Object
  54.         $oShell = ObjCreate("Shell.Application")
  55.         If Not IsObj($oShell) Then Return SetError(2, 0, 0)
  56.  
  57.         ;   Get a 'ShellWindows Collection' object
  58.         $oShellWindows = $oShell.Windows()
  59.         If Not IsObj($oShellWindows) Then Return SetError(3, 0, 0)
  60.  
  61.         ;   Iterate through the collection - each of type 'InternetExplorer' Object
  62.  
  63.         For $oIEObject In $oShellWindows
  64.                 If $oIEObject.HWND = $hWnd Then
  65.                         ; InternetExplorer->Document = ShellFolderView object
  66.                         $oSHFolderView = $oIEObject.Document
  67.                         If IsObj($oSHFolderView) Then Return $oSHFolderView
  68.                         Return SetError(4, 0, 0)
  69.                 EndIf
  70.         Next
  71.  
  72.         Return SetError(-1, 0, 0)
  73. EndFunc   ;==>_ObjectSHFolderViewFromWin
  74.  
  75. ; ==========================================================================================================================
  76. ; Func _ExplorerWinGetSelectedItems($hWnd)
  77. ;
  78. ;
  79. ; Author: klaus.s, KaFu, Ascend4nt (consolidation & cleanup, Path name simplification)
  80. ; ==========================================================================================================================
  81.  
  82. Func _ExplorerWinGetSelectedItems($hWnd)
  83.         If Not IsHWnd($hWnd) Then Return SetError(1, 0, '')
  84.         Local $oSHFolderView
  85.         Local $iSelectedItems, $iCounter = 2, $aSelectedItems[2] = [0, ""]
  86.  
  87.         $oSHFolderView = _ObjectSHFolderViewFromWin($hWnd)
  88.         If @error Then Return SetError(@error, 0, '')
  89.  
  90.         ;   SelectedItems = FolderItems Collection object->Count
  91.         $iSelectedItems = $oSHFolderView.SelectedItems.Count
  92.  
  93.         Dim $aSelectedItems[$iSelectedItems + 2] ; 2 extra -> 1 for count [0], 1 for Folder Path [1]
  94.  
  95.         $aSelectedItems[0] = $iSelectedItems
  96.         ;   ShellFolderView->Folder->Self as 'FolderItem'->Path
  97.         $aSelectedItems[1] = $oSHFolderView.Folder.Self.Path
  98.  
  99.         ;   ShellFolderView->SelectedItems = FolderItems Collection object
  100.         $oSelectedFolderItems = $oSHFolderView.SelectedItems
  101.  
  102.         #cs
  103.                 ; For ALL items in an Explorer Window (not just the selected ones):
  104.                 $oSelectedFolderItems = $oSHFolderView.Folder.Items
  105.                 ReDim $aSelectedItems[$oSelectedFolderItems.Count+2]
  106.         #ce
  107.  
  108.         For $oFolderItem In $oSelectedFolderItems
  109.                 $aSelectedItems[$iCounter] = $oFolderItem.Path
  110.                 $iCounter += 1
  111.         Next
  112.  
  113.         Return SetExtended($iCounter - 2, $aSelectedItems)
  114. EndFunc   ;==>_ExplorerWinGetSelectedItems
  115.  
  116. Func _ComErrFunc($oError)
  117.         ConsoleWrite("COM Error occurred:" & @CRLF & _
  118.                         "Number: " & @TAB & $oError.number & @CRLF & _
  119.                         "Windescription:" & @TAB & $oError.windescription & @CRLF & _
  120.                         "Description is: " & @TAB & $oError.description & @CRLF & _
  121.                         "Source is: " & @TAB & $oError.source & @CRLF & _
  122.                         "Helpfile is: " & @TAB & $oError.helpfile & @CRLF & _
  123.                         "Helpcontext is: " & @TAB & $oError.helpcontext & @CRLF & _
  124.                         "Lastdllerror is: " & @TAB & $oError.lastdllerror & @CRLF & _
  125.                         "Scriptline is: " & @TAB & $oError.scriptline & @CRLF & _
  126.                         "Retcode is: " & @TAB & $oError.retcode & @CRLF & @CRLF)
  127. EndFunc   ;==>_ComErrFunc

Command file, preload.cmd
Code: Text [Select]
  1. @echo off
  2. echo.
  3. rem preload.cmd [folder]
  4. rem
  5. rem Where [folder] = optional folder to create subfolder in
  6. rem
  7. rem  If folder passed as arg, use it if it exists, assume it is run
  8. rem  from CLI in required folder if it does not.
  9. if "%~1"=="" goto :Request
  10. if not exist "%~1" (
  11.   echo Folder does not exist
  12.   echo.
  13.   goto :Request
  14. )
  15. pushd "%~1"
  16.  
  17. :Request
  18. rem There is a SPACE at the end of the follwoing line
  19. set /p newdir=Entername:
  20. if "%newdir%"=="" goto :END
  21. call :Extract "%newdir%"
  22. goto :END
  23.  
  24. :Extract
  25. set ndir="%~1"
  26. md %ndir%
  27. pushd %ndir%
  28. 7za.exe e preload.zip
  29. cd > path.txt
  30. goto :EOF
  31.  
  32. :END

Clavier+ setup:
Clavier.png

What it does:

ONLY works with Explorer, navigate to a folder or select one and then press the Clavier+ hotkey, (Alt+F5 in this case).

  • Clavier+ calls qExClip.exe with the command file as an argument.
  • qExClip.exe grabs either the path of the active Explorer window or the full path of the first selected item.
  • This path is then passed as an argument to the command file, (preload.cmd in this case), to be used however.  If no args were provided for qExClip then the path is copied to the clipboard.
  • preload.cmd can be run from the CLI also, (with or without args), if passed an arg it will pushd to the folder before continuing with asking folder name, extracting, etc.

OK, the WARNINGS bit:
  • Haven't bothered to check whether any item selected is a file - you can do this easily enough in the command file if really necessary.
  • Haven't bothered testing to see whether the arg passed to qExClip exists, (get it right).
  • Fix any paths to executables/archives in the command file as necessary.

It worked here, doesn't hold that it'll work for you.
Pages: prev1 ... 90 91 92 93 94 [95] 96 97 98 99 100 ... 225next