URGENT: Catastrophic behaviour

  • Thread starter Thread starter Juhani Suhonen
  • Start date Start date
J

Juhani Suhonen

While AntiSpyware notices before allowing .BAT to run,
the default folder is changed from original to
C:\windows\system32 ! UGLY!

try this :

-- test.bat
DEL *.* /Q /S /F

doubleclicking .BAT file on explorer (whatever the actual
folder is) deletion will begin in c:\windows\system32
folder when user accepts the operation


Juhani Suhonen
 
The last time I played with .bat, was when I was trying cutomize my
autoexec.bat file for Windows 3.1.
 
Andre said:
The last time I played with .bat, was when I was trying cutomize my
autoexec.bat file for Windows 3.1.

Well, you are for sure no hacker.........

You can do a lot within cmd if you try or remember.

Its really fun to do things with cmd and old fashioned dos
tricks.

About this DEL, I dont know what he means. Too lazy to find
my DOS manual.
 
plun said:
Well, you are for sure no hacker.........

You can do a lot within cmd if you try or remember.

Its really fun to do things with cmd and old fashioned dos tricks.

About this DEL, I dont know what he means. Too lazy to find
my DOS manual.

Even for that there is a function in XP. At the prompt C:>help del

:)


Robert (Netherlands)
 
I hope no one trys this in their windows folder or the root of C.

/Q Queit mode, do not ask if ok to delete on global wildcard
/S Delete Specified files from all subdirectories (in this case *.*
everything)
/F Force deleting of read-only files.

So it's going to try deleting everything without asking for permission. I
hope you are on a test machine if you try this at the root of C.
 
A trojan poster?


Tester said:
I hope no one trys this in their windows folder or the root of C.

/Q Queit mode, do not ask if ok to delete on global wildcard
/S Delete Specified files from all subdirectories (in this case *.*
everything)
/F Force deleting of read-only files.

So it's going to try deleting everything without asking for permission. I
hope you are on a test machine if you try this at the root of C.
 
Andre said:
The last time I played with .bat, was when I was trying cutomize my
autoexec.bat file for Windows 3.1.
For me it was 5 seconds ago. I was editing for my keyboard. I have a
dutch keyboard , but some programmes are thinking in US mode. So i have
problems with dots and commas (This can be a problem in financial
programs), so i must make a .bat file with the kb16 command in it. The
most serious financial software in our country is stil DOS. (Call us
ignorant :) )

But now the problem: When i start a .bat file on the desktop MSAS alerts
me that i am starting a .bat file. So far so good. But when i dont start
it from my desktop but in a dos windows it doesnt give a warning. I dont
know if this is an error or not, but i mention it.


ps on my other computer i still have windows 3.1 32bits (ecomstation) :)
 
Robert said:
But now the problem: When i start a .bat file on the desktop MSAS alerts
me that i am starting a .bat file. So far so good. But when i dont start
it from my desktop but in a dos windows it doesnt give a warning. I dont
know if this is an error or not, but i mention it.

This is strange, i tested several combinations.

I have this bat file for changing IP adress.

"new-ip.bat"
ipconfig /release
net stop "DHCP Client"
net start "DHCP Client"
ipconfig /renew
pause

If I run this from Windows Explorer, nothing from MSAS.
Run it with a shortcut on desktop, nothing from MSAS

Running a copy of this bat file on desktop, MSAS alerts.

?
ps on my other computer i still have windows 3.1 32bits (ecomstation) :)

;)
 
plun said:
This is strange, i tested several combinations.

I have this bat file for changing IP adress.

"new-ip.bat"
ipconfig /release
net stop "DHCP Client"
net start "DHCP Client"
ipconfig /renew
pause

If I run this from Windows Explorer, nothing from MSAS.
Run it with a shortcut on desktop, nothing from MSAS

Running a copy of this bat file on desktop, MSAS alerts.

?

Is this my breaktrough, my MajorBug ? :) Finally.
Do i get now 50 years of free licences ? :)

I must not smile about it. I worked with ecomstation (formally os/2) for
almost 10 years. This is my first step with windows.

Sorry i stop joking around...
 
I do remember the day that a friend whose first machine was a TRS-80 got me
to look at his purchase of Windows. He was very pleased and was hoping this
would be The next big thing. As I recall rather dimly, that was Windows
2.0, and it didn't live up to all of his high hopes.
 
Nuts--now I have to re-read the thread and see whether there really is a new
bug in it.
 
Bill said:
Nuts--now I have to re-read the thread and see whether there really is a new
bug in it.

I didn´t mean you Bill, another Bill......... ;)

And it is a bug with bat files for sure.
 
Bill said:
I do remember the day that a friend whose first machine was a TRS-80 got me
to look at his purchase of Windows. He was very pleased and was hoping this
would be The next big thing. As I recall rather dimly, that was Windows
2.0, and it didn't live up to all of his high hopes.
I hope he doesnt go by the name Miller.

I still have "windows 2.x for Tulip Computers". Its nothing more than a
dosshell. I have all the old software still.
 
OK--I suspect that's definitely avalid observation--Was this a CMD window,
or a COMMAND window?

Neither one is a "dos" window in the proper sense--both are command prompt
windows.

I'll check this--but I wouldn't be surprised at this--and I think you are
correct that this is a loophole.

You can use Microsoft Antispware for free for as long as I can......
 
Bill said:
OK--I suspect that's definitely avalid observation--Was this a CMD window,
or a COMMAND window?
Both.

You can use Microsoft Antispware for free for as long as I can......

Great.
 
Back
Top