Sign in to follow this  

.txt to .exe problems

This topic is 4732 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

THIS IS GOING TO SOUND REALLY STUPID TO YOU BUT JUST TO SEE WHAT WOULD HAPPEN I changed the extension of a .txt to a .exe to see what would hapen if I ran it and now I can't change the file name or delete it. What should I do?

Share this post


Link to post
Share on other sites
Restart your computer and windows will allow you to delete it. There is still some stuff in memory that windows hasn't shaken. Oh, and next time you do that make it a .com file and it might actually do something (coms are just exes without all the extra meta data).

Share this post


Link to post
Share on other sites
Quote:
Original post by Drakkcon
Oh, and next time you do that make it a .com file and it might actually do something (coms are just exes without all the extra meta data).


Probably just crash, though.

Share this post


Link to post
Share on other sites
Quote:
Original post by Fruny
Quote:
Original post by Drakkcon
Oh, and next time you do that make it a .com file and it might actually do something (coms are just exes without all the extra meta data).


Probably just crash, though.


I suppose if you were good enough, you could look up all the instruction encodings and convert them into ASCII and write your program that way.

Share this post


Link to post
Share on other sites
Quote:
Original post by Drakkcon
Restart your computer and windows will allow you to delete it. There is still some stuff in memory that windows hasn't shaken. Oh, and next time you do that make it a .com file and it might actually do something (coms are just exes without all the extra meta data).


I'm sure glad this thread was not about converting .txt files into .exe's [smile]. Anyways I wouldn't try renaming files into .exe or .com and running them. There could be a freak accident that by chance the code ran something such as del *.* or format or something like that. Very near impossible - but as they say "s- happens".

If you are using WinXP - check to see that the .exe was not still running when you closed it. You could then kill the process tree and try to delete.

Share this post


Link to post
Share on other sites
There's a real nice file utility that I use that's now freeware to delete files that windows won't let you delete. Its called GiPo@MoveOnBoot. You can find it at http://gibinsoft.net/. From the download page, I use the Old Version (which is free). It adds a tab to your context menu in Windows Explorer so when you right click you can select "Delete file(s) on next boot". It also adds a tab to the "Properties" menu of a file that will allow you to rename it on the next boot. All this basically does is before Windows can lock access to the file on boot, this utility will rename/delete the file for you. It should solve your problem.

Share this post


Link to post
Share on other sites
I always had a problem with bad video files that I couldn't get unloaded when I would highlight them with Windows Explorer. I would right-click it to delete it, and Explorer would try to get information on it and it would stall until I ctrl+alt+del. I had to go to the prompt and delete it through that.

I recall renaming files to .com back before I used Windows and sometimes it would send data to my printer (bad idea and lots of wasted paper).

Share this post


Link to post
Share on other sites
Cool idea to try out, funny too ;)

Just restart your comp and rename you file back to a txt.If you cant see the exe extention use a DOS console to rename the file ;)

Share this post


Link to post
Share on other sites
Quote:
Original post by Yamian
I restarted and I still can't rename or delete.

This has happened to me once or twice as well which is why I recommended that program in my earlier post. Did you try it out? I highly recommend it, and if you're worried about spyware, I'm very certain it doesn't contain any. Also, its very handy if you want to remove spyware as they often won't let you delete their files once Windows has started up. They also sell commercial software on their site, and the only reason this one is free is because its an "Old Version" but it works perfectly fine for me.

Share this post


Link to post
Share on other sites
I think all you have to do is ctrl-alt-delete and end EXPLORER.EXE. Then go to file -> New Task and click browse. You should be able to get to the file through that and delete it by right clicking and choosing delete. Then just cancel the browse window and type explorer.exe in the box. Then go on your merry way. Works for video files that sometimes get stuck like that. "Cannot delete lustynurses.mpeg. File still in use." Or whatever you might be in such a hurry to delete in the first place.

Share this post


Link to post
Share on other sites
Quote:
Original post by DukeAtreides076
Quote:
Original post by Fruny
Quote:
Original post by Drakkcon
Oh, and next time you do that make it a .com file and it might actually do something (coms are just exes without all the extra meta data).


Probably just crash, though.


I suppose if you were good enough, you could look up all the instruction encodings and convert them into ASCII and write your program that way.

X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* [grin]

EDIT: *cough*

Share this post


Link to post
Share on other sites
Quote:
Original post by Ra
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* [grin]

EDIT: *cough*


Whoa! You're really an elite virus writer, Ra. [smile]

Share this post


Link to post
Share on other sites

This topic is 4732 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this