Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Visual Basic Programming › Desktop Location

Desktop Location

Posts 1–5 of 5 · Page 1 of 1
guza44_44
guza44_44
Desktop Location
Okay for my location of desktop it is

C:\Users\My Name\Desktop

now how do i make it so that "My Name" will work for anyones computer? So u put a code there and it automatically uses your username i have tried things like

C:\Users\Username\Desktop and C:\Users\%Username%\Desktop but im not sure how to use those things so i need help.

Thanks :]
#1 · 16y ago
User1
User1
Use Registry Reads.... they store where My Documents is and stuff. I forgot what key it was but its somewhere...
#2 · 16y ago
SPittn_Blood
SPittn_Blood
My.Computer.FileSystem.SpecialDirectories.Desktop

Should do the trick
#3 · 16y ago
guza44_44
guza44_44
well i kinda wanna know it in text cus i wanna create a folder to it and if i do that then i cant create a folder otherwise it says im trying to make it a double and gives an error
#4 · 16y ago
Zoom
Zoom
Here you go: ("C:\Users\" + SystemInformation.UserName.ToString + "\Desktop")
#5 · 16y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • [HELP]Finding someones desktop location[Solved]By Pixie in Visual Basic Programming
    3Last post 16y ago
  • my desktops :PBy i eat trees in Art & Graphic Design
    20Last post 20y ago
  • My entire desktop is GONE :S... please helpBy Beer_Hunter in Suggestions, Requests & General Help
    12Last post 19y ago
  • Iets Gallery Of Desktops, And SigsBy i eat trees in Art & Graphic Design
    20Last post 20y ago
  • everyone says i have a lot of icons on my desktopBy ace76543 in General
    61Last post 19y ago

Tags for this Thread

#desktop#location