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 › C++/C Programming › Help with code. Using quotes within quotes.

PostHelp with code. Using quotes within quotes.

Posts 1–2 of 2 · Page 1 of 1
howl2000
howl2000
Help with code. Using quotes within quotes.
I need to use quotes within quotes for a command line argument for it to execute properly. I have tried exiting quotes with another set of quotes. """ I have also tried to exit quotes with \"". This just asks for expected end of line ; and won't compile. I also tried using literals @" and had no luck getting it to work as well.


Code:
                    process22.StartInfo.Arguments = "/C advfirewall firewall set rule name="blocknet" new enable="no"";
Can anyone word this where it will compile? I searched for answer, but none that I found have worked in this circumstance. I considered combining strings, but I am still learning to code so I want to know the normal solution. It's the last piece of code in my program that I need working before my program is ready to go.


Code:
   process22.StartInfo.Arguments = @"/C advfirewall firewall set rule name=""blocknet"" new enable=""yes""";
This code compiles but does not accept arguments.
#1 · edited 11y ago · 11y ago
InunoTaishou
InunoTaishou
\"

These are called escape sequences. Characters that have no visible images or have special meaning in C++

Here's a few more
Code:
newline				\n		horizontal tab		\t		alert (bell)		\a
verticle tab		\v		backspace			\b		double quote		\"
backslash			\\		question mark		\?		single quote		\'
carriage return		\r		formfeed			\f
#2 · 11y ago
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

  • Easy Help with coding hacks? like the easiest hacks?By 0pticisback in Combat Arms EU Help
    5Last post 14y ago
  • Need help with Coding.By Squeeze in Alliance of Valiant Arms (AVA) Help
    0Last post 13y ago
  • Need Help with coding a RealmRelay Script!By Alde. in Realm of the Mad God Help & Requests
    6Last post 12y ago
  • Help with codeBy Alpha Toon in Call of Duty Black Ops 2 Help
    0Last post 13y ago
  • Help With CodingBy GreenPro in Visual Basic Programming
    8Last post 13y ago

Tags for this Thread

None