.bat Command That Deletes File When Run? 2 replies

Please wait...


is back.

50 XP

12th March 2006

0 Uploads

872 Posts

0 Threads

#1 13 years ago

hey everyone, this should be easy i think but im just not good with codes :( anyways, in CSS, i recieve this problem evertyime i run it: engine error : failed to lock vertex buffer in CmeshDX8::LockVertexBuffer anyways, i couldnt find a fix for it but i found out that if i deleted vidcfg.bin, i can start CSS without the error but everytime when i quit CSS, the file appears again. so, i would like to know if there is a command i can run so the computer can delete it for me rather than going through folders and deleting it myself.

this error is really annoying so i would be most pleased if there was a fix for it or just a command that will delete it! :bows:

edit: that file is in D:\Valve\Steam\SteamApps\********\counter-strike source\bin by the way.


What does the Fox say?

69,060 XP

23rd November 2002

0 Uploads

6,468 Posts

0 Threads

#2 13 years ago

Hmmm... "vidcfg.bin" is the settings file for your Video card. Wonder what the conflict is... Have you tried to "Force" any resolution, or refresh rate settings with your drivers? To create that *.bat file,... Open Notepad, and then just type the following. del D:\Valve\Steam\SteamApps\********\counter-strike source\bin\vidcfg.bin Those *'s cannot be there, though. I don't know what that is, but *'s are not allowed in the file system. It is a "Wildcard", and can mean anything. for instance, del D:\Valve\Steam\SteamApps\* Will delete everything in the SteamApps folder. So I wouldn't leave it like it is. You will have to reinstall your game.

Rookie VIP Member

128,030 XP

3rd May 2005

0 Uploads

11,953 Posts

0 Threads

#3 13 years ago

I get that error as well, when I try and Alt-Tab out of the Source engine - it's a known bug. Not sure why it would do it immediately upon startup, however.

Instead of deleting video configuration files, try updating your graphics card drivers and see if the error still occurs.