IF Not exist "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\addons\Shoop_da_Whoop\shoop da whoop" copy "C:\Users\~\Desktop\Ultimate Gmod Folder\Mods\shoop_da_whoop\shoop da whoop" "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\addons\"īut you see the problem is that It only Copys the text files within the folder but not the whole folder can anyone help? :up: Then I thought this is stupied copying each file individualy so I decided to make it copy the whole folder to the Addons folder with this code:
IF Not exist "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\sound\weapons\shoop_da_whoop_Firesec.wav" copy "C:\Users\~\Desktop\Ultimate Gmod Folder\Mods\shoop_da_whoop\Shoop da Whoop\sound\weapons\Shoop_da_Whoop_Firesec.wav" "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\sound\weapons\" IF Not exist "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\sound\weapons\Shoop_da_Whoop_Fireprim.wav" copy "C:\Users\~\Desktop\Ultimate Gmod Folder\Mods\shoop_da_whoop\Shoop da Whoop\sound\weapons\Shoop_da_Whoop_Fireprim.wav" "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\sound\weapons\" IF Not exist "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\materials\VGUI\entities\gmod_Shoop_da_Whoop_killicon.vtf" copy "C:\Users\~\Desktop\Ultimate Gmod Folder\Mods\shoop_da_whoop\Shoop da Whoop\materials\VGUI\entities\gmod_Shoop_da_Whoop_killicon.vtf" "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\materials\VGUI\entities\" IF Not exist "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\materials\VGUI\entities\gmod_Shoop_da_Whoop_killicon.vmt" copy "C:\Users\~\Desktop\Ultimate Gmod Folder\Mods\shoop_da_whoop\Shoop da Whoop\materials\VGUI\entities\gmod_Shoop_da_Whoop_killicon.vmt" "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\materials\VGUI\entities\" IF Not exist "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\lua\weapons\shoop_da_whoop\a" copy "C:\Users\~\Desktop\Ultimate Gmod Folder\Mods\shoop_da_whoop\Shoop da Whoop\lua\weappns\shoop_da_whoop\a" "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\lua\weapons\shoop_da_whoop\" IF Not exist "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\lua\effects\stridcan_mzzlflash\a" copy "C:\Users\~\Desktop\Ultimate Gmod Folder\Mods\shoop_da_whoop\Shoop da Whoop\lua\effects\stridcan_mzzlflash\a" "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\lua\effects\stridcan_mzzlflash\" IF Not exist "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\lua\effects\stridcan_fire\a" copy "C:\Users\~\Desktop\Ultimate Gmod Folder\Mods\shoop_da_whoop\Shoop da Whoop\lua\effects\stridcan_fire\a" "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\lua\effects\stridcan_fire\"
IF Not exist "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\lua\effects\stridcan_expld\a" copy "C:\Users\~\Desktop\Ultimate Gmod Folder\Mods\shoop_da_whoop\Shoop da Whoop\lua\effects\stridcan_expld\a" "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\lua\effects\stridcan_expld\" IF Not exist "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\lua\effects\stridcan_charge\a" copy "C:\Users\~\Desktop\Ultimate Gmod Folder\Mods\shoop_da_whoop\Shoop da Whoop\lua\effects\stridcan_charge\a" "C:\Program Files\Steam\steamapps\psycozl\garrysmod\garrysmod\lua\effects\stridcan_charge\"
#Gmod file types code#
(Im not going to give the whole code because its way to long I'll give shortened version of it.)
#Gmod file types mod#
Hello Everyone its me again, I need help on this new file I was making to Add and Delete Mods for Garrys Mod by the few clicks of some buttons.