Vice City: Multiplayer

Off-Topic => Off-Topic General => Topic started by: MEGAMIND on Jul 04, 2018, 05:41 PM

Title: fill in spaces
Post by: MEGAMIND on Jul 04, 2018, 05:41 PM
im facing an issue kindly help plz

system("start C:\\Users\\%username%\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup");
it says invalid path , which i guess it fails to open this path so how can i fill in blank spaces? like the one here

\\Start Menu\\
Title: Re: fill in spaces
Post by: NicusorN5 on Jul 04, 2018, 06:01 PM
use %appdata%\\path
Title: Re: fill in spaces
Post by: MEGAMIND on Jul 04, 2018, 06:09 PM
Quote from: Athanatos on Jul 04, 2018, 06:01 PMuse %appdata%\\path
nope that aint working
Title: Re: fill in spaces
Post by: ysc3839 on Jul 04, 2018, 11:21 PM
Try:system("explorer \"%AppData%\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\"");
Title: Re: fill in spaces
Post by: MEGAMIND on Jul 05, 2018, 05:05 AM
Quote from: ysc3839 on Jul 04, 2018, 11:21 PMTry:system("explorer \"%AppData%\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\"");
This guy should be Rewarded...! thanks @ysc3839