Windows 7 bug driving me bonkers

Discussion in 'Windows 7' started by Hazar, Aug 28, 2009.

  1. Lenmaer

    Lenmaer MDL Addicted

    Jul 3, 2009
    577
    3
    30
    Well that's why I'll wait for SP1 and stay with Vista 64 SP2 until then.
    They're lots of bugs that I don't have with Vista.
     
  2. swampThing

    swampThing MDL Novice

    Aug 15, 2009
    4
    0
    0
    #22 swampThing, Sep 4, 2009
    Last edited by a moderator: Apr 20, 2017
    Adding the following two lines to [Project -> Properties -> Pre-build event command line] should solve your problem (at least it works for me):

    Code:
    del "$(TargetPath).*.locked"
    if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).""%time:~1,1%-%time:~3,2%-%time:~6,5%.locked"