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 8838455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T09:59:56+00:00 2026-06-14T09:59:56+00:00

I am trying to unmount a drive, mount the drive, start a view, mount

  • 0

I am trying to unmount a drive, mount the drive, start a view, mount vobs then call a perl script.

The problem that I am running into is, it seems I have to run as administrator to mount drives but my program has to run as a specific user.
I can get the mount commands to run if I run the the powershell as an admin but I need to run the perl scipts as a user.

How do I get both parts to run as a user?

I have tried commented and uncommented versions

c:\WINDOWS\system32\net.exe use Z: /d
#Remove-PSDrive Z
sleep 2

cleartool endview -server Bedrock_Main_mvwd01tc_1
sleep 2

##new-psdrive -name Z -psprovider FileSystem -root \\view\Bedrock_Main_mvwd01tc_1 
c:\WINDOWS\system32\net.exe use Z: \\view\Bedrock_Main_mvwd01tc_1
sleep 2


##%DRIVE% ##|| goto NETUSEERROR
Set-Location Z:\CMTools\buildtools
cd Z:\CMTools\buildtools

cleartool mount -a

### SET THE CONFIG SPEC TO THE NIGHTLY TIMESTAMP.
\\usmvwc0wafnsrv.ww005.siemens.net\EngTools\bin\chrcs -p $PROJECT -n -m -f
  • 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-14T09:59:57+00:00Added an answer on June 14, 2026 at 9:59 am

    On Windows, all dynamic views are mounted automatically on M: drive, so you shouldn’t need to use a non ClearCase command (net.exe) to start a view.

    Simply cleartool startview aViewTag is enough.

    If you need to use a drive letter for a specific view, start the view first (for dynamic view especially, otherwise it won’t be visible under M:\), and then use subst.

    See ” ClearCase, Mapping specific folders into Drives, using dynamic views ” for a concrete example.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to create a simple document that gets the parentNode then applies a background
Trying to convert a perl script to php. In perl I have a hash
Trying to deploy a Django 1.4 project using mod_wsgi and virtualenv, i'm running into
I'm trying to unmount a filesystem that I mounted using FilesystemMount, but I keep
Trying to build out an exception if move.UserId does not equal currentUserId then Redirect
Trying to make this jQuery filter that uses .find case-insensitive. For example, when the
I am trying to guess the disk used on a linux system. The problem
Trying to insert values with Unicode Chars into a MySQL-database using Delphi 2010 and
Trying to create a simple plugin that simply connects to an ftp site, looks
Trying to build a plot with an exponent x-axis. It should start with 0

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.