Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 





Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Microsoft Support > Windows Vista Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Closed Thread
 
Thread Tools
Old 07-23-2008, 07:37 PM   #1 (permalink)
Registered User
 
bhencetotozo's Avatar
 
Join Date: Jul 2008
Posts: 12
OS: Vista (Worst OS EVER), Linux(Favorite 1), XP(favorite2)


*.BAT FILE problems.

First of all, I would like to say that WINDOWS VISTA is the biggest mistake of ALL operating systems.

There is Unexplainable BUGS.

My question is, is there anything wrong with this .bat file?

@echo off
echo *********************************************************************
echo ********************************* *********************************
echo ************************** **************************
echo ****************** ******************
echo ************ ************
echo ****** ******
echo ** Br-Hacking-Force ErrorLevel Thiago32beta1.3 **
echo **** ******
echo ************ ************
echo ****************** ******************
echo ************************* *************************
echo ********************************* *********************************
ECHO *********************************************************************



choice /c ab /n /m "Press A =HACK ON Press B=Hack OFF"

If errorlevel b goto off
If errorlevel a goto on


:off

cd..
cd..
cd..
cd..
cd..
cd program files
cd acclaim
cd 2moons
cd data

rename usa usa32
dekaron.lnk
goto end




:on

cd..
cd..
cd..
cd..
cd..
cd program files
cd acclaim
cd 2moons
cd data

rename usa32 usa
dekaron.lnk
goto end





:end


exit


Funny Bugs,
When i execute this file, it says,

b was unexpected at this time
a was unexpected at this time


Other funny errors.

*Sometimes i execute this file, and windows vista executes .BAT files that were deleted from the harddrive WTF?
Example:

hack34.bat (DELETED ON MARCH 1)
hack2.bat (CREATED TODAY)

I double click OR execute from cmd (hack2.bat)

HACK32.bat gets executed even though it doesnt exist anymore(i double checked by edditing.

WTF is wrong with VISTA? those files always worked on XP fine.
bhencetotozo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 07-23-2008, 08:50 PM   #2 (permalink)
Registered User
 
bhencetotozo's Avatar
 
Join Date: Jul 2008
Posts: 12
OS: Vista (Worst OS EVER), Linux(Favorite 1), XP(favorite2)


Re: *.BAT FILE problems.

OMG sorry for this i want to bring this UP. Im about to delete my PARTITION which contais vista. This is the first time i come to a Computer Forum in 7 years. This is annoying. I NEED .bat FILES.
__________________
Brazillian Hacking Force
bhencetotozo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 07-24-2008, 02:19 AM   #3 (permalink)
Moderator, Microsoft Support
 
jcgriff2's Avatar
 
Join Date: Sep 2007
Location: New Jersey, USA
Posts: 4,638
OS: Vista SP1 x64, x86 / XP SP3 Pro, Media, Home, / Win 95 / DOS / IBM 390 TSO/ISPF

My System

Re: *.BAT FILE problems.

Hi.. .

A quick glance at your batch file reveals one primary issue/problem to me -

Code:
cd program files
cd acclaim
cd 2moons
cd data
rename usa usa32
You change the directory to \program files\acclaim\2moons\data - then rename usa to usa32. A user cannot (or should I say should not) change anything within the Program Files folder as the SYSTEM and the TrustedInstaller are the owners of record. It may seem to you that the change/rename worked, but because of Vista virtualization, it will change itself back - copy it back from a virtual store area such as %userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\Virtualized.

Vista is simply protecting you, the user, from unauthorized changes to the core program files - whether changed by you or someone/something else.

There is nothing wrong with Vista - just some rules to follow as there are in XP as well.

Good Luck to you.

Regards. . .

jcgriff2

.
__________________





If you were expecting a reply from me and I have not yet done so, please send me a PM with a link to your thread.
jcgriff2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 07-24-2008, 03:38 PM   #4 (permalink)
Registered User
 
bhencetotozo's Avatar
 
Join Date: Jul 2008
Posts: 12
OS: Vista (Worst OS EVER), Linux(Favorite 1), XP(favorite2)


Re: *.BAT FILE problems.

Thank you.. But, Everything works if i set it up WITH OUT the CHOICE command. BUT, instead of having 2 .bat files, I'd like to have it in one file..

If i use those rename commands on VISTA it works perfectly. Exept when the CHOICE command is there. Its a bug, isnt it?
__________________
Brazillian Hacking Force
bhencetotozo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 07-24-2008, 08:04 PM   #5 (permalink)
Moderator, Microsoft Support
 
jcgriff2's Avatar
 
Join Date: Sep 2007
Location: New Jersey, USA
Posts: 4,638
OS: Vista SP1 x64, x86 / XP SP3 Pro, Media, Home, / Win 95 / DOS / IBM 390 TSO/ISPF

My System

Re: *.BAT FILE problems.

Hi. .

I haven't had the time to go back and look at the choice command, but I would like to ask a question, please...

Do you run this at an Elevated level? If so, that may explain why it "works".... but what happens when you re-boot? Do the changes stay in place?

Also, have YOU take file ownership or changed file permissions at all?

Is this an installed program?

jcgriff2
__________________





If you were expecting a reply from me and I have not yet done so, please send me a PM with a link to your thread.
jcgriff2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 07-25-2008, 12:57 PM   #6 (permalink)
Registered User
 
bhencetotozo's Avatar
 
Join Date: Jul 2008
Posts: 12
OS: Vista (Worst OS EVER), Linux(Favorite 1), XP(favorite2)


Re: *.BAT FILE problems.

Hey there. Thank you for the quick response... Yeah, i have taken ownership of the files...

and well. It is an installed program(game) 2moons.

www.acclaim.2moons.com

BUT. the folder USA I own. Everyfiles in there..
AND the funny thing is, I can execute all of those commands as long as the choice command isnt present.

And the funny thing is, sometimes, i execute a .bat in windows vista, and the content that is inside of it is not read, instead for somer eason, it execute the command lines from a BAT file that NO LONGER exists in the harddrive. Its a BIG BUG. i dont get it.. For example, I execute hack.bat and a file that was deleted 3 days ago gets executed... I can tell because it turns to be obvious..

EXAMPLE.. the lines ECHO hahahahahah is not in the bat file i just double clicked on.

but echo HAHAHAHHAHA was in the file i deleted 2 months ago..

And it appears in there ,... WTF?

I dont know why that happens.
__________________
Brazillian Hacking Force
bhencetotozo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 07-25-2008, 01:18 PM   #7 (permalink)
Moderator, Microsoft Support
 
jcgriff2's Avatar
 
Join Date: Sep 2007
Location: New Jersey, USA
Posts: 4,638
OS: Vista SP1 x64, x86 / XP SP3 Pro, Media, Home, / Win 95 / DOS / IBM 390 TSO/ISPF

My System

Re: *.BAT FILE problems.

Is the USA folder within the Program FIles folder?
__________________





If you were expecting a reply from me and I have not yet done so, please send me a PM with a link to your thread.
jcgriff2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 07-25-2008, 01:23 PM   #8 (permalink)
Registered User
 
bhencetotozo's Avatar
 
Join Date: Jul 2008
Posts: 12
OS: Vista (Worst OS EVER), Linux(Favorite 1), XP(favorite2)


Re: *.BAT FILE problems.

The usa FOLDER was never there, I put it there...

But Yes it's path is:
c:\program files\acclaim\2moons\data\usa

But , its not a permission issue. Because if i execute a .bat file that has no CHOICE command, it works. But then, instead of having 2 scripts, i wanna have 1 single script with multiple choices. And it should work because that file that you read in the first post of this thread, works on windows XP. ='( . Well i still have windows xp, I just use vista sometimes because i cant NOT deal with it, because i fix computers for people as a second job.
__________________
Brazillian Hacking Force

Last edited by bhencetotozo : 07-25-2008 at 01:24 PM.
bhencetotozo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 07-25-2008, 01:23 PM   #9 (permalink)
Moderator, Microsoft Support
 
jcgriff2's Avatar
 
Join Date: Sep 2007
Location: New Jersey, USA
Posts: 4,638
OS: Vista SP1 x64, x86 / XP SP3 Pro, Media, Home, / Win 95 / DOS / IBM 390 TSO/ISPF

My System

Re: *.BAT FILE problems.

Is it the program itself that writes out to the Program Files folder?

Why do you need to rename "rename usa usa32" or vice-versa?

jcgriff2
__________________





If you were expecting a reply from me and I have not yet done so, please send me a PM with a link to your thread.
jcgriff2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 07-25-2008, 01:25 PM   #10 (permalink)
Moderator, Microsoft Support
 
jcgriff2's Avatar
 
Join Date: Sep 2007
Location: New Jersey, USA
Posts: 4,638
OS: Vista SP1 x64, x86 / XP SP3 Pro, Media, Home, / Win 95 / DOS / IBM 390 TSO/ISPF

My System

Re: *.BAT FILE problems.

So, if you placed it there, it is obviously not an installed program.

I just tried the link you provided in post #6 - and it brough up a search leading me to several sites.

jcgriff2
__________________





If you were expecting a reply from me and I have not yet done so, please send me a PM with a link to your thread.
jcgriff2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 07-25-2008, 01:26 PM   #11 (permalink)
Registered User
 
bhencetotozo's Avatar
 
Join Date: Jul 2008
Posts: 12
OS: Vista (Worst OS EVER), Linux(Favorite 1), XP(favorite2)


Re: *.BAT FILE problems.

Quote:
Is it the program itself that writes out to the Program Files folder?

Why do you need to rename "rename usa usa32" or vice-versa?

jcgriff2

Well, because, i used WINHEX and c++ to unpak the file DATA.PAK, which contains info of the game.

and the usa folder contains HAXADECIMAL values i modifyed so thhat i can alter values in the game. Wall hack, vac hack etc...

If the folder is missing OR renamed, its not read by the game.. But if the name of the folder remains as USA, the *.csv files inside get read by the game.
__________________
Brazillian Hacking Force
bhencetotozo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 07-25-2008, 01:29 PM   #12 (permalink)
Moderator, Microsoft Support
 
jcgriff2's Avatar
 
Join Date: Sep 2007
Location: New Jersey, USA
Posts: 4,638
OS: Vista SP1 x64, x86 / XP SP3 Pro, Media, Home, / Win 95 / DOS / IBM 390 TSO/ISPF

My System

Re: *.BAT FILE problems.

Since it is not an installed program, why not save your self the trouble dealing with Vista virtualization and place it into another directory in the c: root - maybe one named ProgramFiles (no space) - this is what I do to run non-installed programs. Then you should have complete control over it.

If you provide me with the program involved, I will gladly test it out and see what results I come up with.

Also... did you take ownership of the entire Program Files directory? Are you now having any issues with Windows Updates or Program installations in general?

jcgriff2

.
__________________





If you were expecting a reply from me and I have not yet done so, please send me a PM with a link to your thread.
jcgriff2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 07-25-2008, 01:33 PM   #13 (permalink)
Registered User
 
bhencetotozo's Avatar
 
Join Date: Jul 2008
Posts: 12
OS: Vista (Worst OS EVER), Linux(Favorite 1), XP(favorite2)


Re: *.BAT FILE problems.

Im only having issues with windows update(easy to fix) but the HELP MENU (f1) of windows, its not displauying the images. I get an X, just like a webbrowser would when jpg or gif files are missing.
__________________
Brazillian Hacking Force
bhencetotozo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Old 07-25-2008, 01:42 PM   #14 (permalink)
Moderator, Microsoft Support
 
jcgriff2's Avatar
 
Join Date: Sep 2007
Location: New Jersey, USA
Posts: 4,638
OS: Vista SP1 x64, x86 / XP SP3 Pro, Media, Home, / Win 95 / DOS / IBM 390 TSO/ISPF

My System

Re: *.BAT FILE problems.

What are the hex #'s you are changing?