Get the system drive path using SQL commands RRS feed

  • Question

  • Want to retrieve system drive information using sql commands

    Currently I am using "C:\Program Files\.." in my SQL file.

    Here C:\ drive path is hard-coded.

    But I wanted to retrieve system drive(max probably C:\) using SQL commands rather than using hard-coded path.

    Any suggestions...?

    • Edited by Naren432 Wednesday, May 30, 2018 2:36 PM
    Wednesday, May 30, 2018 2:35 PM