Well, it's grabbing the files in the program directory and moving them up to Program Files. Most of the time the script does exactly what I want: when an extracted folder has only 1 file in it it moves the file up a lever and deletes the folder.
I'm going to change LEQ to EQU...I bet that'll do it.
Search found 5 matches
- March 29th, 2011, 9:07 am
- Forum: General Help
- Topic: Program files move up a level?
- Replies: 7
- Views: 2024
- March 28th, 2011, 7:38 pm
- Forum: General Help
- Topic: Program files move up a level?
- Replies: 7
- Views: 2024
Re: Program files move up a level?
Oh, and most importantly, I'm using the following post-processing, which I realize is the culprit: @echo off for /f "tokens=*" %%c in ('dir/b/a-d %1 ^| find /v /c "::"') do set filecount=%%c if (%filecount% LEQ 1) ( cd /d %1 for /f "tokens=*" %%f in ('dir /a-d /b') do i...
- March 28th, 2011, 7:35 pm
- Forum: General Help
- Topic: Program files move up a level?
- Replies: 7
- Views: 2024
Re: Program files move up a level?
I hate to bring this up again, but I have still have the strange problem. And though I can't believe I never noticed this before, it IS sabnzbd that is moving the files. Here's screenshot proof. It seems that when there's a problem finding the downloaded files, it moves the program files up a level ...
- May 12th, 2010, 4:10 pm
- Forum: General Help
- Topic: Program files move up a level?
- Replies: 7
- Views: 2024
Re: Program files move up a level?
No, no working folders are within SABnzbd's program folder. My VS is nod32--but I can't think of why it would move files up a level, and leave them otherwise unchanged. Also, nod32 isn't giving any errors. A good thought, though. If this happened every time I turned the machine on it would be easier...
- May 10th, 2010, 5:08 pm
- Forum: General Help
- Topic: Program files move up a level?
- Replies: 7
- Views: 2024
Program files move up a level?
I have a strange problem. Sometimes I turn on my machine, and sabnzbd isn't running--and it's always because every file (but none of the folders) in "C:\Program Files (x86)\SABnzbd\" has been moved to "C:\Program Files (x86)\"! To "fix" it, I move the files back to &quo...