---
title: "/和\\\\的区别"
author: "hellsing42"
date: "2008-01-11T09:52:24Z"
tags: []
slug: "untitled"
draft: false
lastmod: "2008-01-11T09:52:24Z"
id: 154984
url: "https://hellsing42.iteye.com/blog/154984"
---

C:\\Windows\\system32

\\是windows中的写法，在linux下是不认的

C:/root/local/

/ 在linux下也可被识别

所以通用写法应该使用/从而保证跨平台后程序正确运行