Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Double "

Double "

Scheduled Pinned Locked Moved C#
8 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Support123
    wrote on last edited by
    #1

    hi, Today just isn't my day. Can anybody please tell me how you put a Double Quote into a string. I need this to send a command in Quotes to command Prompt Like this "C:\Program Files\fop.bat" Thank you in advance :doh: He who laughs last...

    A _ 2 Replies Last reply
    0
    • S Support123

      hi, Today just isn't my day. Can anybody please tell me how you put a Double Quote into a string. I need this to send a command in Quotes to command Prompt Like this "C:\Program Files\fop.bat" Thank you in advance :doh: He who laughs last...

      A Offline
      A Offline
      AnnnS
      wrote on last edited by
      #2

      textBox.text="\"C:\Program Files\fop.bat\""; same logic can be used in ur case also .. try it cheers Akhil

      S 1 Reply Last reply
      0
      • S Support123

        hi, Today just isn't my day. Can anybody please tell me how you put a Double Quote into a string. I need this to send a command in Quotes to command Prompt Like this "C:\Program Files\fop.bat" Thank you in advance :doh: He who laughs last...

        _ Offline
        _ Offline
        _Bao_
        wrote on last edited by
        #3

        string s = @"C:\Program Files\fop.bat";

        S L 2 Replies Last reply
        0
        • _ _Bao_

          string s = @"C:\Program Files\fop.bat";

          S Offline
          S Offline
          Support123
          wrote on last edited by
          #4

          Thank you i'll try it. :) He who laughs last...

          1 Reply Last reply
          0
          • A AnnnS

            textBox.text="\"C:\Program Files\fop.bat\""; same logic can be used in ur case also .. try it cheers Akhil

            S Offline
            S Offline
            Support123
            wrote on last edited by
            #5

            Thank you. Your way works. enjoy your day He who laughs last...

            1 Reply Last reply
            0
            • _ _Bao_

              string s = @"C:\Program Files\fop.bat";

              L Offline
              L Offline
              leppie
              wrote on last edited by
              #6

              _Bao_ wrote:

              @"C:\Program Files\fop.bat";

              That is wrong, I'll leeave it to you to discover why that is :)**

              How xacc.ide transforms text to colored words on the screen
              Intel PentuimM (aka Centrino) undervolting

              **

              C 1 Reply Last reply
              0
              • L leppie

                _Bao_ wrote:

                @"C:\Program Files\fop.bat";

                That is wrong, I'll leeave it to you to discover why that is :)**

                How xacc.ide transforms text to colored words on the screen
                Intel PentuimM (aka Centrino) undervolting

                **

                C Offline
                C Offline
                Colin Angus Mackay
                wrote on last edited by
                #7

                Mainly because it doesn't answer the question.


                "On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." --Charles Babbage (1791-1871) My: Website | Blog

                L 1 Reply Last reply
                0
                • C Colin Angus Mackay

                  Mainly because it doesn't answer the question.


                  "On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." --Charles Babbage (1791-1871) My: Website | Blog

                  L Offline
                  L Offline
                  leppie
                  wrote on last edited by
                  #8

                  IOW a wasted CPU cycle ? ;P**

                  How xacc.ide transforms text to colored words on the screen
                  Intel PentuimM (aka Centrino) undervolting

                  **

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups