Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8580889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:55:21+00:00 2026-06-11T20:55:21+00:00

How can I use path with spaces in a perl script, running Archive commend?

  • 0

How can I use path with spaces in a perl script, running Archive commend?

Saying this is the command with the path I need:

C:\\"Program Files"\\7-Zip\\7z.exe a d:\\views\\"My views" d:\\"Public view"

Someone has an idea?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T20:55:22+00:00Added an answer on June 11, 2026 at 8:55 pm

    Although it isn’t a Perl question, you can use this syntax

    "C:\Program Files\7-Zip\7z.exe" a target.zip "c:\path with spaces\example.pdf"
    

    And if you need to call from a perl script

    $cmd = q!"C:\Program Files\7-Zip\7z.exe" a target.zip "c:\path with spaces\example.pdf"!;
    system $cmd;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to use the path to the current script, and the path contains spaces
I'm trying to use a perl script to pull content from static html files
I know that for regular path I can use the MAX_PATH constant to create
In *nix systems one can use which to find out the full path to
How can I use sed to replace this line char * path_list_[1] = {
Given a string such as: new/path - path/path/03 - filename.ext, how can I use
i can pick a image and its path using intent. with the use of
I want to read the html file.And for that I use System.IO.File.ReadAllText(path) .It can
I can use this maven plugin maven-jaxb-plugin to generate Java Classes from XSD file.
I can execute the following command in PowerShell: msbuild c:\some\spaced path\project.sln /p:MvcBuildViews=False /p:OutDir=c:\\some\\spaced path\\deploy\\Package\\

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.