Search Results

Search: Posts Made By: keshav.murthy@r
7,100
Posted By keshav.murthy@r
Displaying a dialog box using terminal commands
Hello,
I used the command
osascript -e 'tell app "Finder" to display dialog "Hey!"'
to display a dialog box..it works fine, it displays a dialog box with 'OK' and 'CANCEL' buttons..i want to get...
7,590
Posted By keshav.murthy@r
Step 1: Using 'read' command i entered a path...
Step 1:
Using 'read' command i entered a path such as '/Users/admin/untitled\ folder/

Step 2:
I assigned the entered path to a variable

Step 3:
I used 'cd' command to change the directory...
7,590
Posted By keshav.murthy@r
Hi I tried with giving quotes, but it still...
Hi
I tried with giving quotes, but it still giving error.
It's putting up "No such File or directory"
Till the Space it works properly, for example
Suppose I have a folder named 'Untitled Folder'...
7,590
Posted By keshav.murthy@r
File path with space as external input to the program
Hello

I am getting error when the file (Folder or Application) path having space is given as external input to the shell program.

It works fine for the files which has no spaces in the file...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 08:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy