• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

techtips

Technical stuff!

  • Home
  • WindowsOS
  • Offline Installer
  • Web links

admin

Copy file path with slashes in MacOS Mojave instead of triangle

May 15, 2019 by admin Leave a Comment

In MacOS, we get the file path by right click on a file/folder and click on get info, then copy the path.

 

Problem –

With the MacOS Mojave update, when we copy the file path, it comes as shown below

Which id difficult to use with coding or terminal commands.

 

Solution –

  • Right click on the file and key press “option” key
  • You will get a context menu option as “copy <FileName> as pathname” and click on it
  • Above step will copy the file path into clipboard [/Users/MyMac/Documents/Myfile]
  • Use command + v to use it

Hope this helps!

 

Filed Under: MacOS

Open hidden files in mac text editor

March 12, 2019 by admin Leave a Comment

To open any normal file in a text editor like textEdit or Sublime Text is easy and we all know, if not here is a quick step

  • Open the editor, File | Open
  • Finder appears and chose the file from the folder and edit

but you won’t be able to see the hidden files, let’s see how to open those files

Open the editor, click on File | Open

Finder appears, now key press COMMAND + SHIFT + > and you will see all the hidden files (starts with . period) and chose the required file and edit.

Happy editing!

Filed Under: MacOS

How to manage and open chrome browser extensions or plugins

November 21, 2018 by admin Leave a Comment

As you know, we can install the chrome browser extensions / plugins from

chrome webstore

In this post, we will see how we can install / uninstall / open a particular extension in chrome browser.

 

Install –

  • Navigate to https://chrome.google.com/webstore
  • Search for a particular extension and click on “Add to Chrome” button.

 

Open –

To open a particular extension or app –

  • Navigate to chrome://apps
  • Click on particular app to open and use

You can even find the extensions side to your chrome address bar as icons, click on required icon to open.

 

Uninstall –

To find all the extensions or chrome apps installed –

  • Navigate to chrome://extensions/
  • Click on “Remove” to uninstall a particular extension.

 

Filed Under: Browser

Create an executable command file in MAC OS

October 10, 2018 by admin Leave a Comment

In this post, we will see how we can create a MAC commands executable / batch file consisting of commands to run (an alternate to .bat file of windowsOS in MacOC)

If you have worked on windows command prompt, you might used .bat or batch file which will have all the commands that you want to run, and when you double click on the .bat file, commands will be executed one by one.

In MacOS you can create a new file with file extension / format as .command and enter all the commands you want to run as you run manually on MAC terminal.

 

Steps

  • Create a new file, Spotlight | TextEdit or any kind of text editor
  • Enter the commands to run from executable file, for example we will execute below command

echo Running terminal commands from an executable file
cd Desktop
ls

  • now save the file (Command + s) and name is as Test.command
  • Double click the file that you just saved to execute

 

Troubleshooting

Sometimes when you double click on the file, you might get some error while executing, so you can give access of “ownership” and set the “execute” on the file

Open the terminal and enter below command for the file to run,

chmod u+x /path/to/.command/file

Now double click on the .command file, you will see the out put on a terminal with out any error 🙂

Hope this helps!

 

Filed Under: MacOS

Backup windows environmental variables

April 3, 2018 by admin Leave a Comment

There are 2 places to add or edit windows environmental variable

  • User variables [i.e Current user]
  • System variables [i.e common to all users]

Problem

There are situations when you want to restore environmental variables, situations may be accidentally you have deleted variables or system crashed or you changed your computer…

We will see different ways we can backup environmental variables for future references

Solution

Method1

Open command prompt, type “SET” and enter
C:\Users\userName>set

this will list all the environmental settings on your machine.

You can even push the result displayed in to a text file
C:\Users\u0146751>set >> c:\envSetttings.txt
This command will help you to write all your environmental settings to a text file envSettings.txt under C:\ drive. [You can provide your own file name and path]

Method2

Backup the environment registry

Open registry – Start | Run | regedit 

Navigate to

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager

Click on the Environment folder, and this will list all the system variables set for your machine

to backup, click on File | Export and save as .reg or .txt format

  •  HKEY_CURRENT_USER\Environment

This will list all the environment variables set for the current user

to backup, click on File | Export and save as .reg or .txt format

 

Filed Under: WindowsOS

Enable / disable create backup [.bak] files in EditPlus editor

March 8, 2018 by admin Leave a Comment

EditPlus is one of the popular text editor as it supports many text formats starting from .txt, .html, .perl, .py, .java etc

Backup file [.bak]

Every time we save a new file, EditPlus creates a backup file with extension format .bak, for some this might be useful in case the file got deleted or damaged, they can get the content from the respective .bak file, but for some this might just not needed.

Enable/disable Option

We can enable or disable creation of the .bak file while saving a new file in EditPlus, this will be under

Tools | Prefernces | File

To create back up file each time you create a new file, Check the Create backup file when saving

To disable this creation of backup file, just uncheck the option.

 

 

Filed Under: WindowsOS, WindowsUtilities

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Interim pages omitted …
  • Go to page 10
  • Go to Next Page »

Primary Sidebar

Categories

Recents

  • Copy file path with slashes in MacOS Mojave instead of triangle
  • Open hidden files in mac text editor
  • How to manage and open chrome browser extensions or plugins
  • Create an executable command file in MAC OS
  • Backup windows environmental variables

Menu

open all | close all
  • Contact Us
    • About Us
  • Download [official] portable notepad++
    • Find IP address on windows machine
      • Different ways to open remote desktop from windows
      • How to restart remote machine/server in windows
      • Place chrome’s address bar to bottom of screen

Footer

Design

With an emphasis on typography, white space, and mobile-optimized design, your website will look absolutely breathtaking.

Learn more about design.

Content

Our team will teach you the art of writing audience-focused content that will help you achieve the success you truly deserve.

Learn more about content.

Copyright © 2025 · Genesis Sample on Genesis Framework · WordPress · Log in