Welcome Guest.   Make a donation to an author on the site July 30, 2014, 02:23:23 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2012! Download dozens of custom programs!
   
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: [1] 2 3 4 5 6 ... 130 Next
1  Main Area and Open Discussion / Living Room / Re: Gadget WEEKENDS on: Today at 06:54:40 AM
I couldn't help but notice this:
 (see attachment in previous post)

Evidence of its hand-crafted nature.

It might be true, maybe it only half sh!ts itself when it dies  Wink
2  Main Area and Open Discussion / Living Room / Re: Gadget WEEKENDS on: July 29, 2014, 04:11:57 PM
Picked up a GOAL ZERO Nomad 7 before I went OS, (I have V1 - previous version of the linked one), for charging the phone while I read ebooks.

[attachthumb=1]

[attachthumb=2]
3  Main Area and Open Discussion / General Software Discussion / Re: diagnostic tool on: July 29, 2014, 06:15:11 AM
It always helps to mention what OS you're talking about ...

Resource Monitor, (7 onwards), will show what processes are using what resources.

For XP onwards, Process Monitor from SysInternals, (Microsoft).
4  DonationCoder.com Software / Post New Requests Here / Re: Need a Script to Move User Files Into a Subfolder on: July 29, 2014, 05:27:40 AM
It seems that if there is not adequate permissions to move the file, it will loop at 30 second intervals and stall on that file.

I noted the permissions aspect when I was playing with the robocopy /COPY: option - didn't get the 30 second loop though, possibly because I wasn't Admin.

Quote
Now I just have to point it at the 568GB of faculty files and I should be just about done with this part.

Is it about now I should mention the hidden format command?

Quote
Thanks Guys! You really saved my ass on this one.

No problem  smiley

Probably get skwire to mark as DONE if your OK with it.
5  DonationCoder.com Software / Post New Requests Here / Re: Need a Script to Move User Files Into a Subfolder on: July 28, 2014, 12:23:37 AM
In that case it should be obvious that you should use the shorter versions rather than my original.   Wink

Thank Abterix for that  Thmbsup

And as Anthony Quayle used to say: "Pleasant dreams."  Evil
6  DonationCoder.com Software / Post New Requests Here / Re: Need a Script to Move User Files Into a Subfolder on: July 27, 2014, 04:14:26 PM
Okay first let me say thank you, I'd been hoping you'd show up here as I've seen your work and had a feeling you were the guy for the job. smiley

Aw shucks  embarassed

Thanks  smiley

Quote
It was/is really close in that it did move all the files, but it didn't move any of the folders that were in the Student\ directories. It instead looped and created a documents folder inside of all the sub directories and moved the contents into them.

Ah yes, forgot that case  undecided

The structure you gave above, the \Student xxx, is that the literal structure or figurative?

ie. Is it really \Student 123 or was that just a way of describing the structure?

If it's the first case, then if you change:

for /f "usebackq tokens=*" %%a in (`dir /s /b /ad *.*`) do (call :MakeMove "%%a")

to:

for /f "usebackq tokens=*" %%a in (`dir /s /b /ad Student*`) do (call :MakeMove "%%a")

That'll list only the folders with Student in them and stop the creation of Documents in the sub-folders.


I've changed the move to robocopy because move didn't handle folders, besides which robocopy will do a verified copy before deleting the original.

Modified original command file.

4wd, isn't this recursive?

mkdir "%~1\Documents"
move "%~1\*.*" "%~1\Documents\"

Since "%~1\*.*" includes Documents already.

Didn't seem to be since the move command just ignores folders, which is what SJ mentioned.  I've switched to robocopy since it does it all in one hit and I can exclude the destination folder from the move.

Quote
I would try it this way...

Certainly a better way to create the folders since it takes into consideration non-uniform sub-dir names - might have to rejig that bit later  smiley

Using robocopy obviated the need for recursive move commands ... I hope ... seems to work OK with my test structure.

Addendum:  The shorter version using some of Abterix' lines:

All versions are up there.

As before, try it on nuke-friendly structure first.

Modified my first post to add this version.
7  DonationCoder.com Software / Post New Requests Here / Re: Need a Script to Move User Files Into a Subfolder on: July 27, 2014, 10:09:17 AM
Try this, put the command file into the \Users directory, open a CLI and enter MoveIt.cmd

Original version removed because it was "clunky" and structure specific.  Sad

Worked here on my limited test with your structure above but try it on something that can afford to be nuked first.

NOTE: Since the robocopy command will output results, you could redirect the output to a file if you want to keep a log in case of Murphy.

Using some of Abterix' info below, (THANKS!), here's a shorter version:

(Cleaned it up a little)
Formatted for Generic Code with the GeSHI Syntax Highlighter [copy or print]
  1. REM start in the Users folder
  2. @echo off
  3. rem For each year starting 20 do:
  4. for /d %%Y in (20??) do (
  5.        rem Change to year folder
  6.        pushd "%%~Y"
  7.  
  8. rem For each student folder do:
  9. for /d %%U in (*) do (
  10.         robocopy "%%~U" "%%~U\Documents" /e /move /xd "Documents"
  11.  
  12. )
  13.        rem Return to parent folder (\Users)
  14. popd
  15. )

One-liner command file, (lots of output since echo isn't turned off):
Formatted for Generic Code with the GeSHI Syntax Highlighter [copy or print]
  1. for /d %%Y in (20??) do (for /f "usebackq tokens=*" %%U in (`dir /b /ad "%%~Y\*"`) do (robocopy "%%~Y\%%~U" "%%~Y\%%~U\Documents" /e /move /xd "Documents"))

And one-liner for use at command prompt, (same as above except no double % for variables):
Formatted for Generic Code with the GeSHI Syntax Highlighter [copy or print]
  1. for /d %Y in (20??) do (for /f "usebackq tokens=*" %U in (`dir /b /ad "%~Y\*"`) do (robocopy "%~Y\%~U" "%~Y\%~U\Documents" /e /move /xd "Documents"))
8  Main Area and Open Discussion / General Software Discussion / Re: Taming Windows 8's impolite Taskbar with DDMM on: July 22, 2014, 02:42:22 AM
I've used Taskbar Activate for years, works on 7 & 8.

Introduces an indicator and delay when you're in the Taskbar zone.
9  Main Area and Open Discussion / General Software Discussion / Re: Lazyload on: July 20, 2014, 03:11:43 PM
You guys working nights on a weekend yet just to solve my petty little problems!

Well that's DoCo I guess.  smiley

We're a Global Conglomeration - it's daylight where some of us are Wink

Quote
There's a bunch of us here with no personal lives. Wink  Grin

In my case you can add: No Job, No Stress, No Money  Grin
10  Main Area and Open Discussion / General Software Discussion / Re: Lazyload on: July 20, 2014, 04:34:21 AM
You need to install:
GreaseMonkey for Mozilla based browsers (Firefox, Pale Moon, etc),
TamperMonkey for Chrome based browsers (Chrome, Opera Net, etc).

I don't think there's a version for current IE versions, (didn't spend much time looking though - I don't use IE).

Then you can go to the link 40hz posted,
  • copy all the script text into the Clipboard,
  • left-click the arrow next to the GreaseMonkey icon in your Firefox toolbar, (if you put it there), and choose New User Script, (might be different for Chrome based browser, don't have one installed atm),
  • choose Use Script from Clipboard,
  • choose File menu, Save and then close the editor window.

The script is installed.

There's probably one on Userscripts where you can just hit the Install button, but I can't access the site atm to search.

Found one at the mirror site: nolazyload - You just hit the green Install button there once you have GreaseMonkey/TamperMonkey installed.
11  Main Area and Open Discussion / General Software Discussion / Re: Windows 8 Pro on: July 19, 2014, 01:25:36 PM
^ Neat ... off to do a little Googling ... thanks smiley


Ahhh, change it to a Volume License version ... simples!
12  Main Area and Open Discussion / General Software Discussion / Re: The art of finding on: July 19, 2014, 02:44:35 AM
@4wd do you know which file Advanced URL Builder uses for entries?  I'd like to just copy from FF to FF portable without entering the search engines again.

@MilesAhead: Sorry, didn't see your post until now.

AdvancedURLBuilder' prefs are stored in the pref.js file in your Firefox/Pale Moon profile directory.

If you open the file and do a search for one of your entries you'll see them, they'll have lines starting with:

user_pref("aub.<setting>", <value>);
13  DonationCoder.com Software / Post New Requests Here / Re: Simple Utility to find the value of a specific key in Windows Registry on: July 17, 2014, 05:23:35 AM
^ What he said.

I guess if you want to ensure that all machines are always at the same update "level" you could push them manually but I would have thought there was an easier way.
14  Main Area and Open Discussion / General Software Discussion / Re: Filter and order folders by the date of original creation time on: July 17, 2014, 02:51:14 AM
Wouldn't this suffice?

[copy or print]
dir /od /t:c /ad

You can add any wildcards you like.

It doesn't really cover the "Even choosing the subfolders i wish more details" bit.
15  DonationCoder.com Software / Post New Requests Here / Re: Simple Utility to find the value of a specific key in Windows Registry on: July 17, 2014, 02:46:30 AM
As an exercise in futility, (skwire's version will be much better), here's something in DOS, (XP+):

Formatted for Generic Code with the GeSHI Syntax Highlighter [copy or print]
  1. @echo off
  2.  
  3. if "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto X64
  4.  
  5. :X86
  6. echo.X86 Architecture
  7. for /f "usebackq delims={,} tokens=2" %%a in (`reg.exe query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall`) do (call :testOffice %%a)
  8.  
  9. goto :END
  10.  
  11. :X64
  12. echo.X64 Architecture
  13. for /f "usebackq delims={,} tokens=2" %%a in (`reg.exe query HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall`) do (call :testOffice %%a)
  14.  
  15. goto :END
  16.  
  17.  
  18. :testOffice
  19. set temp=%1
  20. set test=%temp:~24,12%
  21. set office=D000000FF1CE
  22. if %test%==%office% call :officeFound %temp%
  23. goto :EOF
  24.  
  25. :officeFound
  26. for /f "delims=- tokens=2,3" %%b in ("%~1") do (call :officeType %%b %%c)
  27. goto :EOF
  28.  
  29. :officeType
  30. set ctroff=008C
  31. set onedr=00BA
  32. if %1==%ctroff% echo.Click-to-Run MS Office
  33. if %1==%onedr% call :oneDrive %2
  34. goto :EOF
  35.  
  36. :oneDrive
  37. set salone=0000
  38. if %1==%salone% (
  39. echo.Stand-alone OneDrive MS Office
  40. ) else (
  41. echo.Office 2013 version of MS Office
  42. )
  43. goto :EOF
  44.  

Fixed and tested with some fake reg keys - seems to work.
16  Main Area and Open Discussion / General Software Discussion / Re: Filter and order folders by the date of original creation time on: July 16, 2014, 03:00:13 AM
Search My Files
17  Main Area and Open Discussion / Non-Windows Software / Re: Android: Looking for true app data backup solution on: July 15, 2014, 05:15:14 AM
A question: Even after paying for ROM Toolbox Pro, you're still prompted to buy more within the program?

BTW, I know why you guys really bought it Grin

[attachthumb=1]
18  Main Area and Open Discussion / Living Room / Re: Raspberry Pi's $35 Linux PC on: July 14, 2014, 06:19:10 AM
New Raspberry Pi Model B+

[attach=1]

Quote
What's the same:

  • Same Broadcom BCM2835 Chipset
  • Same 512MB RAM
  • Same full size HDMI port
  • Same 10/100 Ethernet port
  • Same CSI camera port and DSI display ports
  • Same micro USB power supply connection

What has changed:
  • Now comes with 4 USB ports so you can now connect more devices than ever to your Raspberry Pi.
  • There is a 40pin extended GPIO so you can build even bigger and better projects than ever before. The first 26 pins are identical to the Model B to provide 100% backward compatibility for your projects.
  • Micro SD slot instead of the full size SD slot for storing information and loading your operating systems.
  • Advanced power management:
  • You can now provide up to 1.2 AMP to the 4 USB ports – enabling you to connect more power hungry USB devices without needing an external USB hub. (This feature requires a 2Amp micro USB Power Supply)
  • The B+ board now uses less power (600mA) than the Model B Board (750mA) when running
  • Combined 4-pole jack for connecting your stereo audio out and composite video out

Please note: The Raspberry Pi Model B+ is laid-out differently to the previous Raspberry Pis and existing enclosures and crusts (daughter boards) may not fit. Checkout the data sheet downloads below.

Specifications:
  • Chip: Broadcom BCM2835 SoC
  • Core Architecture: ARM11
  • CPU: 700 MHz Low Power ARM1176JZFS Applications Processor
  • GPU
  •    Dual Core VideoCore IV® Multimedia Co-Processor
  •    Provides Open GL ES 2.0, hardware-accelerated OpenVG, and 1080p30 H.264 high-profile decode
  •    Capable of 1Gpixel/s, 1.5Gtexel/s or 24GFLOPs with texture filtering and DMA infrastructure
  • Memory: 512MB SDRAM
  • Operating System: Boots from Micro SD card, running a version of the Linux operating system
  • Dimensions: 85 x 56 x 17mm
  • Power: Micro USB socket 5V, 2A
  • Ethernet: 10/100 BaseT Ethernet socket
  • Video:
  •    HDMI (rev 1.3 & 1.4)
  • USB: 4 x USB 2.0 Connector
  • GPIO Connector:
  •    40-pin 2.54 mm (100 mil) expansion header: 2x20 strip
  •    Providing 27 GPIO pins as well as +3.3 V, +5 V and GND supply lines
  • Camera Connector: 15-pin MIPI Camera Serial Interface (CSI-2)
  • JTAG: Not populated
  • Display Connector: Display Serial Interface (DSI) 15 way flat flex cable connector with two data lanes and a clock lane
  • Memory Card Slot: SDIO
19  DonationCoder.com Software / Finished Programs / Re: DONE: Basic Pop-Up Notice/Reminder Window on: July 14, 2014, 05:22:01 AM
Stickies ?

While not as basic as you want, it does all that and more ... you don't have to use all it's features Wink
20  Main Area and Open Discussion / General Software Discussion / Re: Windows 8 Pro System Image Backup. on: July 14, 2014, 05:18:36 AM
Flash drives come default formatted with the FAT32 filesystem for maximum compatibility between OS' - maximum file size is 4GB.

To store your image, you need to tell your backup program to split into 4GB parts, (some will do it anyway and you tell them otherwise), or format the flash drive as NTFS.

What filesystem is your flash drive using and what backup program are you using ?
21  Main Area and Open Discussion / General Software Discussion / Re: Windows 8 Pro System Image Backup. on: July 13, 2014, 02:57:10 PM
Any decent free backup/imaging software should be able to use a flash drive as a destination, eg. Paragon, AOMEI, etc.

Otherwise, just copy the image files to the flash drive after doing the backup.

Give AOMEI Backupper a go.

Or do you mean you want to create a system image on the flash drive that you can boot off, (eg. a VHD) ?
22  Main Area and Open Discussion / General Software Discussion / Re: which forums you use for PC troubleshooting? on: July 13, 2014, 02:51:59 PM
MSFN
23  DonationCoder.com Software / Post New Requests Here / Re: Removing zero length files recursively at command-line on: July 13, 2014, 05:47:31 AM
Formatted for Generic Code with the GeSHI Syntax Highlighter [copy or print]
  1. REM Del0Files.cmd
  2. @echo off
  3. for /f "usebackq tokens=*" %%a in (`dir /os /b /s /a-d-s-h-l "%~1\*.*"`) do (if "%%~za"=="0" del "%%~a")

Call as:

Del0Files.cmd <path>

Change the:

del "%%~a"

to:

move "%%~a" "C:\Zero\%%~na"

if you want to move instead.

Here's a recursive commandline delete empty directory that I got from StackOverflow, (IIRC):

Formatted for Generic Code with the GeSHI Syntax Highlighter [copy or print]
  1. rem Del0Dir.cmd <directory>
  2. @echo off
  3. for /f "usebackq delims=" %%a in (`dir /ad /b /s "%~1" ^| sort /r`) do rd "%%~a" 2>NUL

For cleaning up the dirs after you delete all the files smiley

Test it first, the rd should fail if the directory isn't empty thus skipping it.
24  Main Area and Open Discussion / General Software Discussion / Re: Windows 8 Pro on: July 12, 2014, 10:46:46 AM
I have a retail product key because I bought it from Microsoft Store. The problem is that it's Windows 8 Professional x64 key. I am neither able to download Windows 8.1 Pro nor able to activate it. I keep getting the message, this key is for a different version of Windows.

That's how I got my version of Windows 8 Pro x86 and x64 licenses, from the MS Store.

If you follow the steps given in the post I refer to, (starting at point 1 which refers you to this article at MakeUseOf), you should be able to download a Windows 8.1 Pro ISO.

Looks like the ***holes at MS have neutered that particular form of ISO download now, worked for me when I did it but that was a few months ago.  It might be different if tried from a previous Windows version, (I'm running 8.1 on my netbook so that might be screwing it up), as it says you should.

There's another way but we don't mention BitTorrent around here.  tongue

Basically, if you can get an 8.1 Pro ISO you can activate, (not install), with an 8.0 key.
25  DonationCoder.com Software / Post New Requests Here / Re: IDEA: Image Append - Batch on: July 12, 2014, 10:37:03 AM
Thanks!

Although I missed the part where the images are in pairs in sub-dirs that are named according to page.

I think I would have gone with a folder/issue with images named Page01a.jpg, Page01b.jpg, etc - would be easy to see where a snafu occurred in appending then, (eg. Page01a + Page02b.jpg =  huh ).
Pages: [1] 2 3 4 5 6 ... 130 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.196s | Server load: 0.06 ]