DOS Commands for Win 7

For castration-related posts that just don’t seem to fit anywhere else.
Post Reply
kristoff
Posts: 4756
Joined: Sat Sep 17, 2005 10:45 am

Posting Rank

DOS Commands for Win 7

Post by kristoff »

I have Windows 7 installed. I am trying to remove an entire directoy using DOS commands through the command prompt. rmdir, rd, and deltree do not work to remove sub directories or full directories. Anyone got a clue How I can get this program gone? Program uninstall is also blocked by the same error that won't let me introduce a new version of the program or from using or removing the old one. sometimes quick books really sux. I figure just get it all out and start fresh
Batman (imported)
Posts: 317
Joined: Sat Nov 11, 2006 9:13 pm

Posting Rank

Re: DOS Commands for Win 7

Post by Batman (imported) »

Try "rd /s name"
Sweetpickle (imported)
Posts: 603
Joined: Sat Jul 04, 2009 12:37 pm

Posting Rank

Re: DOS Commands for Win 7

Post by Sweetpickle (imported) »

do you have the priveledges and file type set to enable the removal?

Sorry but it's such and open ended question.
Caith721 (imported)
Posts: 629
Joined: Mon Nov 08, 2010 6:21 am

Posting Rank

Re: DOS Commands for Win 7

Post by Caith721 (imported) »

Windows 7 sets attributes on any directory beneath the "Program Files" directory, and the "trusted installer" service keeps them set, for the most part. If you change the detailed permissions on the QuickBooks top-level directory to allow "Full Control" for your user ID, you should be able to delete it.
kristoff
Posts: 4756
Joined: Sat Sep 17, 2005 10:45 am

Posting Rank

Re: DOS Commands for Win 7

Post by kristoff »

Caith721 (imported) wrote: Sun May 08, 2011 11:08 am Windows 7 sets attributes on any directory beneath the "Program Files" directory, and the "trusted installer" service keeps them set, for the most part. If you change the detailed permissions on the QuickBooks top-level directory to allow "Full Control" for your user ID, you should be able to delete it.

And how do I do that? Dunno how to get into the program files. I can work my way into the directory from the c prompt but from there I cant open anything. I'm reading the "trusted installer" can be changed under the user accounts but i dont see where, and I am set as the owner of the system.
twaddler (imported)
Posts: 1006
Joined: Sat Nov 25, 2006 3:39 pm

Posting Rank

Re: DOS Commands for Win 7

Post by twaddler (imported) »

http://www.howtogeek.com/howto/windows- ... -in-vista/

^-- This works for me. No matter how I changed the security privileges, Win7 was still saying I needed permission from myself to delete all this crap on an old hard drive. Using the 'Take ownership' thingie fixes that right quick.
kristoff
Posts: 4756
Joined: Sat Sep 17, 2005 10:45 am

Posting Rank

Re: DOS Commands for Win 7

Post by kristoff »

twaddler (imported) wrote: Sun May 08, 2011 2:50 pm http://www.howtogeek.com/howto/windows- ... -in-vista/

^-- This works for me. No matter how I changed the security privileges, Win7 was still saying I needed permission from myself to delete all this crap on an old hard drive. Using the 'Take ownership' thingie fixes that right quick.

downloaded it. how does one run it? can't seem to open anything in it or with it. complete instructions needed.
Eunuken (imported)
Posts: 345
Joined: Tue May 20, 2003 2:35 pm

Posting Rank

Re: DOS Commands for Win 7

Post by Eunuken (imported) »

Give this a try, open the command prompt in windows seven by going to the command under the all programs and accessories, and right click on it and use the run as option, this will allow you to use the Administrator account and that woull allow you to delete anything, as long as its not in use. or you may also be able to change any attribute. I would use the attrib - r -a -s -h .then you sould be able do rip it out by the roots. but be warned its dangerous to do things this way.

Ken
_g (imported)
Posts: 817
Joined: Sat Dec 01, 2001 4:03 am

Posting Rank

Re: DOS Commands for Win 7

Post by _g (imported) »

kristoff wrote: Sun May 08, 2011 8:55 am I have Windows 7 installed. I am trying to remove an entire directoy using DOS commands through the command prompt. rmdir, rd, and deltree do not work to remove sub directories or full directories. Anyone got a clue How I can get this program gone? Program uninstall is also blocked by the same error that won't let me introduce a new version of the program or from using or removing the old one. sometimes quick books really sux. I figure just get it all out and start fresh

You need to download "Revo Uninstaller" I had the very same problem and then I ran "Eusing Free Registry Cleaner" all traces of that kept the installer from installing was gone. Both programs are free, but make sure you read every thing as they try to get you purchase the rest of the software suite.

_g
kristoff
Posts: 4756
Joined: Sat Sep 17, 2005 10:45 am

Posting Rank

Re: DOS Commands for Win 7

Post by kristoff »

whatever got into my accounting software traveled to my tax software, as well as some other stuff. obviously something that likes to eat software. ultimately, i ended up having to do a system recovery. sux
Caith721 (imported)
Posts: 629
Joined: Mon Nov 08, 2010 6:21 am

Posting Rank

Re: DOS Commands for Win 7

Post by Caith721 (imported) »

Bleuch!! I'd rather endure an orchiectomy - - oh, wait a minute... 😄

Terribly sorry to hear whatever it was, ate your last few days of work. :(
_g (imported)
Posts: 817
Joined: Sat Dec 01, 2001 4:03 am

Posting Rank

Re: DOS Commands for Win 7

Post by _g (imported) »

kristoff wrote: Tue May 10, 2011 6:17 am whatever got into my accounting software traveled to my tax software, as well as some other stuff. obviously something that likes to eat software. ultimately, i ended up having to do a system recovery. sux

I hope that whatever it was was unable to send any of your information out. The new group of virus/malware writers are after bank information to clean out your check and savings accounts or to steak your identity and do it from out side the USA.

A very good reason to have a good suite of anti-virus software installed and running.

_g
foxytaur (imported)
Posts: 693
Joined: Mon May 09, 2011 12:24 pm

Posting Rank

Re: DOS Commands for Win 7

Post by foxytaur (imported) »

ughhh.....And I'm learning right now Dos commands for Win98.For a rinky dinky college course(Computer Systems) you'd think we should be up to date with Linux and Win7 but nope! .....far from it
_g (imported)
Posts: 817
Joined: Sat Dec 01, 2001 4:03 am

Posting Rank

Re: DOS Commands for Win 7

Post by _g (imported) »

foxytaur (imported) wrote: Wed May 11, 2011 3:45 am ughhh.....And I'm learning right now Dos commands for Win98.For a rinky dinky college course(Computer Systems) you'd think we should be up to date with Linux and Win7 but nope! .....far from it

The commands for DOS 1.1 through the present versions of Windows are the same, if you have the correct Command.com loaded. I have not played with Win 7 command prompt, but to get some of the commands to work you have to be logged in as administer.

Most of the DOS commands are basically the same as Unix/Linux command set but there some changes and different commands, depending which shell you are using.

_g
Sweetpickle (imported)
Posts: 603
Joined: Sat Jul 04, 2009 12:37 pm

Posting Rank

Re: DOS Commands for Win 7

Post by Sweetpickle (imported) »

To bad there wasn't a "Petunia" for computers.

😄
artisticlicense (imported)
Posts: 219
Joined: Sat Sep 08, 2007 3:45 pm

Posting Rank

Re: DOS Commands for Win 7

Post by artisticlicense (imported) »

kristoff wrote: Sun May 08, 2011 8:55 am I have Windows 7 installed. I am trying to remove an entire directoy using DOS commands through the command prompt. rmdir, rd, and deltree do not work to remove sub directories or full directories. Anyone got a clue How I can get this program gone? Program uninstall is also blocked by the same error that won't let me introduce a new version of the program or from using or removing the old one. sometimes quick books really sux. I figure just get it all out and start fresh

What program do you wish to remove? QuickBooks?

Unadvised removing an entire directory without knowing what other programs depend upon it. Is your version of QuickBooks compatible with Win-7?

Are you operating from safe-mode, or are you able to get into the PC normally?

Have you (or able to) saved you work off the PC (thumb-drive, etc)?

You should be able to re-install the broken program over the old one. Win-7 automatically fixes/cleans-up during the process.

After you re-install (if you choose that ), run a scan with Malwarebytes (or similar) to find the culprit that caused the corruption. Then run Win-updater manually.

I just had 2 instances of the hijacker.application/go.microsoft virus last week.

An investigators tip; replace the HD, and install a clean copy of Win-7. Save the old HD, and run it from a desk-top docking station. All your old files and folders (Documents) should still be readable.
Post Reply